Part Number Hot Search : 
PQ2TZ15 MHR14TFJ 1N5280B LM2735 R0003 3EXM4S 8EVKIT TZMC24
Product Description
Full Text Search
 

To Download ADP5586 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  k e y p a d d e c o d e r a n d i / o p o r t e x p a n d e r d a t a s h e e t a d p 5 5 8 6 r e v . 0 d o c u m e n t f e e d b a c k i n f o r m a t i o n f u r n i s h e d b y a n a l o g d e v i c e s i s b e l i e v e d t o b e a c c u r a t e a n d r e l i a b l e . h o w e v e r , n o r e s p o n s i b i l i t y i s a s s u m e d b y a n a l o g d e v i c e s f o r i t s u s e , n o r f o r a n y i n f r i n g e m e n t s o f p a t e n t s o r o t h e r r i g h t s o f t h i r d p a r t i e s t h a t m a y r e s u l t f r o m i t s u s e . s p e c i f i c a t i o n s s u b j e c t t o c h a n g e w i t h o u t n o t i c e . n o l i c e n s e i s g r a n t e d b y i m p l i c a t i o n o r o t h e r w i s e u n d e r a n y p a t e n t o r p a t e n t r i g h t s o f a n a l o g d e v i c e s . t r a d e m a r k s a n d r e g i s t e r e d t r a d e m a r k s a r e t h e p r o p e r t y o f t h e i r r e s p e c t i v e o w n e r s . o n e t e c h n o l o g y w a y , p . o . b o x 9 1 0 6 , n o r w o o d , m a 0 2 0 6 2 - 9 1 0 6 , u . s . a . t e l : 7 8 1 . 3 2 9 . 4 7 0 0 ? 2 0 1 3 a n a l o g d e v i c e s , i n c . a l l r i g h t s r e s e r v e d . t e c h n i c a l s u p p o r t w w w . a n a l o g . c o m f e a t u r e s 1 6 - e l e m e n t f i f o f o r e v e n t r e c o r d i n g 1 0 c o n f i g u r a b l e i / o s a l l o w i n g f o r s u c h f u n c t i o n s a s k e y p a d d e c o d i n g f o r a m a t r i x o f u p t o 5 5 k e y p r e s s / r e l e a s e i n t e r r u p t s g p i o f u n c t i o n s g p i w i t h s e l e c t a b l e i n t e r r u p t l e v e l 1 0 0 k  o r 3 0 0 k  p u l l - u p r e s i s t o r s 3 0 0 k  p u l l - d o w n r e s i s t o r s g p o w i t h p u s h - p u l l o r o p e n d r a i n p r o g r a m m a b l e l o g i c b l o c k p u l s e g e n e r a t o r s p e r i o d s a n d o n t i m e s a b o v e 3 0 s e c i n 1 2 5 m s i n c r e m e n t s u p t o 2 5 5 m s i n 1 m s i n c r e m e n t s r e s e t g e n e r a t o r i 2 c i n t e r f a c e w i t h f a s t - m o d e p l u s ( f m + ) s u p p o r t o f u p t o 1 m h z o p e n - d r a i n i n t e r r u p t o u t p u t 1 6 - b a l l w l c s p , 1 . 5 9 m m 1 . 5 9 m m a p p l i c a t i o n s k e y p a d e n t r i e s a n d i n p u t / o u t p u t e x p a n s i o n c a p a b i l i t i e s s m a r t p h o n e s , r e m o t e c o n t r o l s , a n d c a m e r a s h e a l t h c a r e , i n d u s t r i a l , a n d i n s t r u m e n t a t i o n f u n c t i o n a l b l o c k d i a g r a m s d a g p i s c a n a n d d e c o d e u v l o p o r i 2 c i n t e r f a c e o s c i l l a t o r r e g i s t e r s k e y s c a n a n d d e c o d e l o g i c i / o c o n f i g i n t r s t / r 5 s c l v d d a d p 5 5 8 6 g n d p u l s e g e n 1 p u l s e g e n 2 r e s e t g e n r 0 r 3 r 1 r 2 r 4 c 0 c 1 c 2 c 3 c 4 1 1 1 4 8 - 0 0 1 f i g u r e 1 . g e n e r a l d e s c r i p t i o n t h e a d p 5 5 8 6 i s a 1 0 - i n p u t / o u t p u t p o r t e x p a n d e r w i t h a b u i l t - i n k e y p a d m a t r i x d e c o d e r , p r o g r a m m a b l e l o g i c , r e s e t g e n e r a t o r , a n d p u l s e g e n e r a t o r s . i n p u t / o u t p u t e x p a n d e r i c s a r e u s e d i n p o r t a b l e d e v i c e s ( p h o n e s , r e m o t e c o n t r o l s , a n d c a m e r a s ) a n d n o n p o r t a b l e a p p l i c a t i o n s ( h e a l t h c a r e , i n d u s t r i a l , a n d i n s t r u m e n t a t i o n ) . i / o e x p a n d e r s c a n b e u s e d t o i n c r e a s e t h e n u m b e r o f i / o s a v a i l a b l e t o a p r o c e s s o r o r t o r e d u c e t h e n u m b e r o f i / o s r e q u i r e d t h r o u g h i n t e r f a c e c o n n e c t o r s f o r f r o n t p a n e l d e s i g n s . t h e a d p 5 5 8 6 h a n d l e s a l l k e y s c a n n i n g a n d d e c o d i n g a n d c a n f l a g t h e m a i n p r o c e s s o r , v i a a n i n t e r r u p t l i n e , t h a t n e w k e y e v e n t s h a v e o c c u r r e d . g p i c h a n g e s a n d l o g i c c h a n g e s c a n a l s o b e t r a c k e d a s e v e n t s v i a t h e f i f o , e l i m i n a t i n g t h e n e e d t o m o n i t o r d i f f e r e n t r e g i s t e r s f o r e v e n t c h a n g e s . t h e a d p 5 5 8 6 i s e q u i p p e d w i t h a f i f o t o s t o r e u p t o 1 6 e v e n t s . e v e n t s c a n b e r e a d b a c k b y t h e p r o c e s s o r v i a a n i 2 c - c o m p a t i b l e i n t e r f a c e . t h e a d p 5 5 8 6 e l i m i n a t e s t h e n e e d f o r t h e m a i n p r o c e s s o r t o m o n i t o r t h e k e y p a d , t h u s r e d u c i n g p o w e r c o n s u m p t i o n a n d / o r i n c r e a s i n g p r o c e s s o r b a n d w i d t h f o r p e r f o r m i n g o t h e r f u n c t i o n s . t h e p r o g r a m m a b l e l o g i c f u n c t i o n s a l l o w c o m m o n l o g i c r e q u i r e - m e n t s t o b e i n t e g r a t e d a s p a r t o f t h e g p i o e x p a n d e r , t h u s s a v i n g b o a r d a r e a a n d c o s t .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 2 o f 4 4 t a b l e o f c o n t e n t s f e a t u r e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 a p p l i c a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 f u n c t i o n a l b l o c k d i a g r a m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 g e n e r a l d e s c r i p t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 r e v i s i o n h i s t o r y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 s p e c i f i c a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 i 2 c t i m i n g s p e c i f i c a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 a b s o l u t e m a x i m u m r a t i n g s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 t h e r m a l r e s i s t a n c e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 e s d c a u t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 p i n c o n f i g u r a t i o n a n d f u n c t i o n d e s c r i p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 t h e o r y o f o p e r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 d e v i c e e n a b l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 d e v i c e o v e r v i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 f u n c t i o n a l d e s c r i p t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 e v e n t f i f o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 k e y s c a n c o n t r o l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 0 g p i i n p u t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 g p o o u t p u t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 l o g i c b l o c k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 4 r e s e t b l o c k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 5 i n t e r r u p t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 5 p u l s e g e n e r a t o r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 r e g i s t e r i n t e r f a c e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7 r e g i s t e r m a p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 9 d e t a i l e d r e g i s t e r d e s c r i p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1 a p p l i c a t i o n s s c h e m a t i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1 o u t l i n e d i m e n s i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 o r d e r i n g g u i d e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 r e v i s i o n h i s t o r y 3 / 1 3 ? r e v i s i o n 0 : i n i t i a l v e r s i o n
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 3 o f 4 4 s p e c i f i c a t i o n s v d d = 1 . 8 v t o 3 . 3 v , t a = t j =  4 0 c t o + 8 5 c , u n l e s s o t h e r w i s e n o t e d . 1 t a b l e 1 . p a r a m e t e r s y m b o l t e s t c o n d i t i o n s / c o m m e n t s m i n t y p m a x u n i t s u p p l y v o l t a g e v d d i n p u t v o l t a g e r a n g e v d d 1 . 6 5 3 . 6 v u n d e r v o l t a g e l o c k o u t t h r e s h o l d u v l o v d d u v l o a c t i v e , v d d f a l l i n g 1 . 2 1 . 3 v u v l o i n a c t i v e , v d d r i s i n g 1 . 4 1 . 6 v s u p p l y c u r r e n t s t a n d b y c u r r e n t i s t n b y v d d = 1 . 6 5 v 1 4  a v d d = 3 . 3 v 1 1 0 a o p e r a t i n g c u r r e n t ( o n e k e y p r e s s ) i s c a n 1 s c a n = 1 0 m s , c o r e _ f r e q = 5 0 k h z , s c a n a c t i v e , 3 0 0 k  p u l l - u p , v d d = 1 . 6 5 v 3 0 4 0 a i s c a n 2 s c a n = 1 0 m s , c o r e _ f r e q = 5 0 k h z , s c a n a c t i v e , 3 0 0 k  p u l l - u p , v d d = 3 . 3 v 7 5 8 5  a p u l l - u p , p u l l - d o w n r e s i s t a n c e p u l l - u p o p t i o n 1 5 0 1 0 0 1 5 0 k  o p t i o n 2 1 5 0 3 0 0 4 5 0 k  p u l l - d o w n 1 5 0 3 0 0 4 5 0 k  i n p u t l o g i c l e v e l ( r s t , s c l , s d a , r 0 , r 1 , r 2 , r 3 , r 4 , r 5 , c 0 , c 1 , c 2 , c 3 , c 4 ) i n p u t v o l t a g e l o g i c l o w v i l 0 . 3 v d d v l o g i c h i g h v i h 0 . 7 v d d v i n p u t l e a k a g e c u r r e n t ( p e r p i n ) v i - l e a k 0 . 1 1 a p u s h - p u l l o u t p u t l o g i c l e v e l ( r 0 , r 1 , r 2 , r 3 , r 4 , r 5 , c 0 , c 1 , c 2 , c 3 , c 4 o u t p u t v o l t a g e l o g i c l o w v o l 1 s i n k c u r r e n t = 1 0 m a , m a x i m u m o f f i v e g p i o s a c t i v e s i m u l t a n e o u s l y 0 . 4 v v o l 2 s i n k c u r r e n t = 1 0 m a , a l l g p i o s a c t i v e s i m u l t a n e o u s l y 0 . 5 v l o g i c h i g h v o h s o u r c e c u r r e n t = 5 m a 0 . 7 v d d v l o g i c h i g h o u t p u t l e a k a g e c u r r e n t ( p e r p i n ) v o h - l e a k 0 . 1 1 a o p e n - d r a i n o u t p u t l o g i c l e v e l ( i n t , s d a ) o u t p u t v o l t a g e l o g i c l o w i n t v o l 3 i s i n k = 1 0 m a 0 . 4 v s d a v o l 4 i s i n k = 2 0 m a 0 . 4 v l o g i c h i g h o u t p u t l e a k a g e c u r r e n t ( p e r p i n ) v o h - l e a k 0 . 1 1 a l o g i c p r o p a g a t i o n d e l a y 1 2 5 3 0 0 n s f l i p - f l o p ( f f ) h o l d t i m e 2 0 n s f f s e t u p t i m e 2 1 7 5 n s g p i o d e b o u n c e 2 7 0 s i n t e r n a l o s c i l l a t o r f r e q u e n c y 3 o s c f r e q 7 2 0 8 0 0 8 8 0 k h z 1 a l l l i m i t s a t t e m p e r a t u r e e x t r e m e s a r e g u a r a n t e e d v i a c o r r e l a t i o n , u s i n g s t a n d a r d s t a t i s t i c a l q u a l i t y c o n t r o l ( s q c ) . t y p i c a l v a l u e s a r e a t t a = 2 5 c , v d d = 1 . 8 v . 2 g u a r a n t e e d b y d e s i g n . 3 a l l t i m e r s a r e r e f e r e n c e d f r o m t h e b a s e o s c i l l a t o r a n d h a v e t h e s a m e 1 0 % a c c u r a c y .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 4 o f 4 4 i 2 c t i m i n g s p e c i f i c a t i o n s t a b l e 2 . p a r a m e t e r d e s c r i p t i o n m i n m a x u n i t i 2 c t i m i n g s p e c i f i c a t i o n s d e l a y f r o m u v l o / r s t i n a c t i v e t o i 2 c a c c e s s 6 0 s f s c l s c l c l o c k f r e q u e n c y 0 1 0 0 0 k h z t h i g h s c l h i g h t i m e 0 . 2 6 s t l o w s c l l o w t i m e 0 . 5 s t s u ; d a t d a t a s e t u p t i m e 5 0 n s t h d ; d a t d a t a h o l d t i m e 0 s t s u ; s t a s e t u p t i m e f o r r e p e a t e d s t a r t 0 . 2 6 s t h d ; s t a h o l d t i m e f o r s t a r t / r e p e a t e d s t a r t 0 . 2 6 s t b u f b u s f r e e t i m e f o r s t o p a n d s t a r t c o n d i t i o n s 0 . 5 s t s u ; s t o s e t u p t i m e f o r s t o p c o n d i t i o n 0 . 2 6 s t v d ; d a t d a t a v a l i d t i m e 0 . 4 5 s t v d ; a c k d a t a v a l i d a c k n o w l e d g e 0 . 4 5 s t r r i s e t i m e f o r s c l a n d s d a 1 2 0 n s t f f a l l t i m e f o r s c l a n d s d a 1 2 0 n s t s p p u l s e w i d t h o f s u p p r e s s e d s p i k e 0 5 0 n s c b 1 c a p a c i t i v e l o a d f o r e a c h b u s l i n e 5 5 0 p f 1 c b i s t h e t o t a l c a p a c i t a n c e o f o n e b u s l i n e i n p i c o f a r a d s ( p f ) . t i m i n g d i a g r a m s d a s c l s d a s c l s s r p s f i r s t c l o c k c y c l e n i n t h c l o c k n i n t h c l o c k 1 / f s c l 7 0 % 3 0 % 7 0 % 3 0 % 7 0 % 3 0 % 7 0 % 3 0 % 7 0 % 3 0 % 7 0 % 3 0 % 7 0 % 3 0 % t f t f t r t r t h i g h t v d ; d a t t s u ; d a t t s u ; s t a t h d ; d a t t h d ; s t a t v d ; a c k t s p t s u ; s t o t b u f t l o w t h d ; s t a v i l = 0 . 3 v v d d v i h = 0 . 7 v v d d 1 1 1 4 8 - 0 0 2 f i g u r e 2 . i 2 c i n t e r f a c e t i m i n g d i a g r a m
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 5 o f 4 4 a b s o l u t e m a x i m u m r a t i n g s t a b l e 3 . p a r a m e t e r r a t i n g v d d t o g n d  0 . 3 v t o + 4 v s c l , s d a , r s t , i n t , r 0 , r 1 , r 2 , r 3 , r 4 , c 0 , c 1 , c 2 , c 3 , c 4  0 . 3 v t o ( v d d + 0 . 3 v ) t e m p e r a t u r e r a n g e o p e r a t i n g ( a m b i e n t )  4 0 c t o + 8 5 c 1 o p e r a t i n g ( j u n c t i o n )  4 0 c t o + 1 2 5 c s t o r a g e  6 5 c t o + 1 5 0 c 1 i n a p p l i c a t i o n s w h e r e h i g h p o w e r d i s s i p a t i o n a n d p o o r t h e r m a l r e s i s t a n c e a r e p r e s e n t , t h e m a x i m u m a m b i e n t t e m p e r a t u r e m a y n e e d t o b e d e r a t e d . m a x i m u m a m b i e n t t e m p e r a t u r e ( t a ( m a x ) ) i s d e p e n d e n t o n t h e m a x i m u m o p e r a t i n g j u n c t i o n t e m p e r a t u r e ( t j ( m a x o p ) = 1 2 5 c ) , t h e m a x i m u m p o w e r d i s s i p a t i o n o f t h e d e v i c e ( p d ( m a x ) ) , a n d t h e j u n c t i o n - t o - a m b i e n t t h e r m a l r e s i s t a n c e o f t h e d e v i c e / p a c k a g e i n t h e a p p l i c a t i o n (  j a ) , u s i n g t h e f o l l o w i n g e q u a t i o n : t a ( m a x ) = t j ( m a x o p )  (  j a p d ( m a x ) ) . s t r e s s e s a b o v e t h o s e l i s t e d u n d e r a b s o l u t e m a x i m u m r a t i n g s m a y c a u s e p e r m a n e n t d a m a g e t o t h e d e v i c e . t h i s i s a s t r e s s r a t i n g o n l y ; f u n c t i o n a l o p e r a t i o n o f t h e d e v i c e a t t h e s e o r a n y o t h e r c o n d i t i o n s a b o v e t h o s e i n d i c a t e d i n t h e o p e r a t i o n a l s e c t i o n o f t h i s s p e c i f i c a t i o n i s n o t i m p l i e d . e x p o s u r e t o a b s o l u t e m a x i m u m r a t i n g c o n d i t i o n s f o r e x t e n d e d p e r i o d s m a y a f f e c t d e v i c e r e l i a b i l i t y . a b s o l u t e m a x i m u m r a t i n g s a p p l y i n d i v i d u a l l y o n l y , n o t i n c o m - b i n a t i o n . u n l e s s o t h e r w i s e s p e c i f i e d , a l l o t h e r v o l t a g e s a r e r e f e r e n c e d t o g n d . t h e r m a l r e s i s t a n c e  j a i s s p e c i f i e d f o r t h e w o r s t - c a s e c o n d i t i o n s , t h a t i s , a d e v i c e s o l d e r e d i n a p r i n t e d c i r c u i t b o a r d ( p c b ) f o r s u r f a c e - m o u n t p a c k a g e s . t a b l e 4 . t h e r m a l r e s i s t a n c e  j a u n i t 1 6 - b a l l w l c s p 6 2 c / w m a x i m u m p o w e r d i s s i p a t i o n 7 0 m w e s d c a u t i o n
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 6 o f 4 4 p i n c o n f i g u r a t i o n a n d f u n c t i o n d e s c r i p t i o n s i n t r s t / r 5 1 ab c d 2 3 4 c 1 r 2 v d d c 2 s d a r 4 c 3 r 1 s c l c 4 r 0 g n d c 0 r 3 b a l l a 1 c o r n e r t o p v i e w ( b a l l s i d e d o w n ) n o t t o s c a l e 1 1 1 4 8 - 0 0 3 f i g u r e 3 . p i n c o n f i g u r a t i o n t a b l e 5 . p i n f u n c t i o n d e s c r i p t i o n s p i n n o . m n e m o n i c d e s c r i p t i o n a 1 v d d s u p p l y v o l t a g e i n p u t . a 2 s d a i 2 c d a t a i n p u t / o u t p u t . a 3 s c l i 2 c c l o c k i n p u t . a 4 g n d g r o u n d . b 1 r 0 g p i o 1 ( g p i o a l t e r n a t e f u n c t i o n : l o g i c b l o c k o u t p u t l y ) . t h i s p i n f u n c t i o n s a s r o w 0 w h e n c o n f i g u r e d i n k e y p a d m o d e . b 2 i n t o p e n - d r a i n i n t e r r u p t o u t p u t . b 3 r s t / r 5 i n p u t r e s e t s i g n a l ( r s t ) . t h e r e s e t s i g n a l f u n c t i o n a p p l i e s t o a l l m o d e l s e x c e p t t h e a d p 5 5 8 6 a c b z - 0 1 - r 7 . g p i o 6 / r o w 5 ( r 5 ) . t h i s f u n c t i o n a p p l i e s o n l y t o t h e a d p 5 5 8 6 a c b z - 0 1 - r 7 m o d e l . b 4 c 0 g p i o 7 ( g p i o a l t e r n a t e f u n c t i o n : p u l s e _ g e n _ 1 ) . t h i s p i n f u n c t i o n s a s c o l u m n 0 w h e n c o n f i g u r e d i n k e y p a d m o d e . c 1 r 2 g p i o 3 ( g p i o a l t e r n a t e f u n c t i o n : l o g i c b l o c k i n p u t l b ) . t h i s p i n f u n c t i o n s a s r o w 2 w h e n c o n f i g u r e d i n k e y p a d m o d e . c 2 r 1 g p i o 2 ( g p i o a l t e r n a t e f u n c t i o n : l o g i c b l o c k i n p u t l a ) . t h i s p i n f u n c t i o n s a s r o w 1 w h e n c o n f i g u r e d i n k e y p a d m o d e . c 3 c 1 g p i o 8 ( g p i o a l t e r n a t e f u n c t i o n : p u l s e _ g e n _ 2 ) . t h i s p i n f u n c t i o n s a s c o l u m n 1 w h e n c o n f i g u r e d i n k e y p a d m o d e . c 4 c 2 g p i o 9 . t h i s p i n f u n c t i o n s a s c o l u m n 2 w h e n c o n f i g u r e d i n k e y p a d m o d e . d 1 r 4 g p i o 5 ( g p i o a l t e r n a t e f u n c t i o n : r e s e t _ o u t ) . t h i s p i n f u n c t i o n s a s r o w 4 w h e n c o n f i g u r e d i n k e y p a d m o d e . d 2 r 3 g p i o 4 ( g p i o a l t e r n a t e f u n c t i o n : l o g i c b l o c k i n p u t l c ) . t h i s p i n f u n c t i o n s a s r o w 3 w h e n c o n f i g u r e d i n k e y p a d m o d e . d 3 c 3 g p i o 1 0 . t h i s p i n f u n c t i o n s a s c o l u m n 3 w h e n c o n f i g u r e d i n k e y p a d m o d e . d 4 c 4 g p i o 1 1 . t h i s p i n f u n c t i o n s a s c o l u m n 4 w h e n c o n f i g u r e d i n k e y p a d m o d e .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 7 o f 4 4 t h e o r y o f o p e r a t i o n 1 1 1 4 8 - 0 0 4 r o w 0 s d a i 2 c i n t e r f a c e i 2 c b u s y ? o s c i l l a t o r r e g i s t e r s i / o c o n f i g u r a t i o n i n t r s t / r 5 * r o w 1 r o w 2 r o w 3 r o w 4 r o w 5 c o l 1 c o l 0 c o l 2 c o l 3 c o l 4 ( r 0 ) ( r 1 ) ( r 2 ) ( r 3 ) ( r 4 ) ( r s t / r 5 ) * ( c 0 ) ( c 1 ) ( c 2 ) ( c 3 ) ( c 4 ) ( r 0 ) ( r 1 ) ( r 2 ) ( r 3 ) ( r 4 ) ( c 0 ) ( c 1 ) ( c 2 ) ( c 3 ) ( c 4 ) g p i o 1 g p i o 2 g p i o 3 g p i o 4 g p i o 5 g p i o 7 g p i o 8 g p i o 9 g p i o 1 0 g p i o 1 1 k e y e v e n t g p i e v e n t l o g i c e v e n t s c l v d d a d p 5 5 8 6 g n d r 0 r 3 r 1 r 2 r 4 c 0 c 1 c 2 c 3 c 4 p u l s e c o n t r o l ( c 1 ) ( c 0 ) p u l s e _ g e n _ 1 p u l s e _ g e n _ 2 ( r s t / r 5 ) * g p i o 6 l o g i c ( r 1 ) ( r 2 ) ( r 3 ) ( r 0 ) l a l b l c l y ( r 4 ) r e s e t _ o u t r s t r e s e t g e n g p i s c a n a n d d e c o d e k e y s c a n a n d d e c o d e f i f o u p d a t e u v l o p o r * r 5 a v a i l a b l e o n a d p 5 5 8 6 a c b z - 0 1 - r 7 o n l y . f i g u r e 4 . i n t e r n a l b l o c k d i a g r a m
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 8 o f 4 4 d e v i c e e n a b l e w h e n s u f f i c i e n t v o l t a g e i s a p p l i e d t o v d d a n d t h e r s t p i n i s d r i v e n w i t h a l o g i c h i g h l e v e l , t h e a d p 5 5 8 6 s t a r t s u p i n s t a n d b y m o d e w i t h a l l s e t t i n g s a t d e f a u l t . t h e u s e r c a n c o n f i g u r e t h e d e v i c e v i a t h e i 2 c i n t e r f a c e . w h e n t h e r s t p i n i s l o w , t h e a d p 5 5 8 6 e n t e r s a r e s e t s t a t e a n d a l l s e t t i n g s r e t u r n t o d e f a u l t . t h e r s t p i n f e a t u r e s a d e b o u n c e f i l t e r . i f t h e a d p 5 5 8 6 a c b z - 0 1 - r 7 d e v i c e m o d e l i s u s e d , t h e r s t p i n a c t s a s a n a d d i t i o n a l r o w p i n ( r 5 ) . t o r e s e t t h e p a r t w i t h o u t a r e s e t p i n , e i t h e r b r i n g v d d b e l o w t h e u v l o t h r e s h o l d , o r s e t t h e s w _ r e s e t b i t t o 1 ( r e g i s t e r 0 x 3 d , b i t 2 ) . d e v i c e o v e r v i e w t h e a d p 5 5 8 6 c o n t a i n s 1 0 m u l t i c o n f i g u r a b l e i n p u t / o u t p u t p i n s . e a c h p i n c a n b e p r o g r a m m e d t o e n a b l e t h e d e v i c e t o c a r r y o u t i t s v a r i o u s f u n c t i o n s , a s f o l l o w s : x k e y p a d m a t r i x d e c o d i n g ( f i v e - c o l u m n b y f i v e - r o w m a t r i x m a x i m u m ) x g e n e r a l - p u r p o s e i / o e x p a n s i o n ( u p t o 1 0 i n p u t s / o u t p u t s ) x r e s e t g e n e r a t o r x l o g i c f u n c t i o n b u i l d i n g b l o c k s ( u p t o t h r e e i n p u t s a n d o n e o u t p u t ) x t w o p u l s e g e n e r a t o r s a l l 1 0 i n p u t / o u t p u t p i n s h a v e a n i / o s t r u c t u r e a s s h o w n i n f i g u r e 5 . i / o v d d 1 0 0 k ? d e b o u n c e 3 0 0 k ? 3 0 0 k ? i / o d r i v e 1 1 1 4 8 - 0 0 5 f i g u r e 5 . i / o s t r u c t u r e e a c h i / o c a n b e p u l l e d u p w i t h a 1 0 0 k  o r 3 0 0 k  r e s i s t o r o r p u l l e d d o w n w i t h a 3 0 0 k  r e s i s t o r . f o r l o g i c o u t p u t d r i v e , e a c h i / o h a s a 5 m a p m o s s o u r c e a n d a 1 0 m a n m o s s i n k f o r a p u s h - p u l l t y p e o u t p u t . f o r o p e n - d r a i n o u t p u t s i t u a t i o n s , t h e 5 m a p m o s s o u r c e i s n o t e n a b l e d . f o r l o g i c i n p u t a p p l i c a t i o n s , e a c h i / o c a n b e s a m p l e d d i r e c t l y o r , a l t e r n a t i v e l y , s a m p l e d t h r o u g h a d e b o u n c e f i l t e r . t h e i / o s t r u c t u r e s h o w n i n f i g u r e 5 a l l o w s f o r a l l g p i a n d g p o f u n c t i o n s , a s w e l l a s p w m a n d c l o c k d i v i d e f u n c t i o n s . f o r k e y m a t r i x s c a n a n d d e c o d e , t h e s c a n n i n g c i r c u i t u s e s t h e 1 0 0 k  o r 3 0 0 k  r e s i s t o r f o r p u l l i n g u p t h e k e y p a d r o w p i n s a n d t h e 1 0 m a n m o s s i n k s f o r g r o u n d i n g t h e k e y p a d c o l u m n p i n s ( s e e t h e k e y s c a n c o n t r o l s e c t i o n f o r d e t a i l s a b o u t k e y d e c o d i n g ) . c o n f i g u r a t i o n o f t h e d e v i c e i s c a r r i e d o u t b y p r o g r a m m i n g a n a r r a y o f i n t e r n a l r e g i s t e r s v i a t h e i 2 c i n t e r f a c e . f e e d b a c k o f d e v i c e s t a t u s a n d p e n d i n g i n t e r r u p t s c a n b e f l a g g e d t o a n e x t e r n a l p r o c e s s o r b y u s i n g t h e i n t p i n . t h e a d p 5 5 8 6 i s o f f e r e d w i t h t h r e e f e a t u r e s e t s . t a b l e 6 l i s t s t h e o p t i o n s t h a t a r e a v a i l a b l e f o r e a c h m o d e l o f t h e a d p 5 5 8 6 . c o n t a c t y o u r l o c a l a n a l o g d e v i c e s , i n c . , f i e l d a p p l i c a t i o n s e n g i n e e r s f o r a v a i l a b i l i t y a n d / o r a l t e r n a t e c o n f i g u r a t i o n s . t a b l e 6 . m a t r i x o p t i o n s b y d e v i c e m o d e l 1 m o d e l d e s c r i p t i o n a d p 5 5 8 6 a c b z - 0 0 - r 7 g p i o p u l l - d o w n o n s t a r t u p 5 - r o w 5 - c o l u m n m a t r i x a d p 5 5 8 6 a c b z - 0 1 - r 7 r o w 5 a d d e d t o g p i o s 6 - r o w 5 - c o l u m n m a t r i x a d p 5 5 8 6 a c b z - 0 3 - r 7 a l t e r n a t e i 2 c a d d r e s s ( 0 x 3 0 ) 5 - r o w 5 - c o l u m n m a t r i x 1 c o n t a c t a n a l o g d e v i c e s f o r a v a i l a b i l i t y o f c o n f i g u r a t i o n s n o t s h o w n h e r e .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 9 o f 4 4 f u n c t i o n a l d e s c r i p t i o n e v e n t f i f o b e f o r e g o i n g i n t o d e t a i l o n t h e v a r i o u s b l o c k s o f t h e a d p 5 5 8 6 , i t i s i m p o r t a n t t o u n d e r s t a n d t h e f u n c t i o n o f t h e e v e n t f i f o t h a t i s f e a t u r e d i n t h e a d p 5 5 8 6 . t h e e v e n t f i f o ( r e g i s t e r 0 x 0 3 t o r e g i s t e r 0 x 1 2 ) c a n r e c o r d a s m a n y a s 1 6 e v e n t s . b y d e f a u l t , t h e f i f o p r i m a r i l y r e c o r d s k e y e v e n t s , s u c h a s k e y p r e s s a n d k e y r e l e a s e . h o w e v e r , i t i s p o s s i b l e t o c o n f i g u r e t h e g e n e r a l - p u r p o s e i n p u t ( g p i ) a n d l o g i c a c t i v i t y t o g e n e r a t e e v e n t i n f o r m a t i o n o n t h e f i f o , a s w e l l . a n e v e n t c o u n t , e c [ 4 : 0 ] ( r e g i s t e r 0 x 0 2 , b i t s [ 4 : 0 ] ) , i s c o m p o s e d o f f i v e b i t s a n d w o r k s i n t a n d e m w i t h t h e f i f o s o t h a t t h e u s e r k n o w s h o w m a n y e v e n t s a r e s t o r e d i n t h e f i f o . t h e f i f o c o n s i s t s o f s i x t e e n 8 - b i t e l e m e n t s . b i t s [ 6 : 0 ] o f e a c h e l e m e n t s t o r e t h e e v e n t i d e n t i f i e r , a n d b i t 7 s t o r e s t h e e v e n t s t a t e . t h e u s e r c a n r e a d t h e t o p e l e m e n t o f t h e f i f o f r o m a n y o f t h e f i f o _ 1 t h r o u g h f i f o _ 1 6 r e g i s t e r s . t h e a d p 5 5 8 6 h a s m u l t i p l e c o p i e s o f t h e f i f o r e g i s t e r t o a l l o w r e a d i n g o f t h e c o m p l e t e f i f o w i t h a s i n g l e i 2 c b u r s t r e a d . e v e n t 1 [ 7 : 0 ] e v e n t 2 [ 7 : 0 ] e v e n t 3 [ 7 : 0 ] e v e n t 4 [ 7 : 0 ] e v e n t 1 3 [ 7 : 0 ] e v e n t 1 4 [ 7 : 0 ] e v e n t 1 5 [ 7 : 0 ] e v e n t 1 6 [ 7 : 0 ] e v e n t 5 [ 7 : 0 ] e v e n t 6 [ 7 : 0 ] e v e n t 7 [ 7 : 0 ] e v e n t 8 [ 7 : 0 ] e v e n t 9 [ 7 : 0 ] e v e n t 1 0 [ 7 : 0 ] e v e n t 1 1 [ 7 : 0 ] e v e n t 1 2 [ 7 : 0 ] 7 g p i e v e n t s e c [ 4 : 0 ] o v r f l o w _ i n t k e y e v e n t s l o g i c e v e n t s 6 5 4 3 2 1 0 f i f o u p d a t e e v e n t 8 _ i d e n t i f i e r [ 6 : 0 ] e v e n t 8 _ s t a t e 1 1 1 4 8 - 0 0 6 f i g u r e 6 . b r e a k d o w n o f e v e n t x [ 7 : 0 ] b i t s k e y 3 p r e s s e d k e y 3 r e l e a s e d g p i 7 a c t i v e e c = 3 k e y 3 r e l e a s e d g p i 7 a c t i v e e c = 2 g p i 7 a c t i v e e c = 1 e c = 0 t h i r d r e a d s e c o n d r e a d f i r s t r e a d 1 1 1 4 8 - 0 0 7 f i g u r e 7 . f i f o o p e r a t i o n t h e f i f o r e g i s t e r s a l w a y s p o i n t t o t h e t o p o f t h e f i f o ( t h a t i s , t h e l o c a t i o n o f e v e n t 1 [ 7 : 0 ] ) . i f t h e u s e r t r i e s t o r e a d b a c k f r o m a n y l o c a t i o n i n a f i f o , d a t a i s a l w a y s o b t a i n e d f r o m t h e t o p o f t h a t f i f o . t h i s e n s u r e s t h a t e v e n t s c a n b e r e a d b a c k o n l y i n t h e o r d e r i n w h i c h t h e y o c c u r r e d , t h e r e b y e n s u r i n g t h e i n t e g r i t y o f t h e f i f o s y s t e m . a s s t a t e d p r e v i o u s l y , s o m e o f t h e o n - b o a r d f u n c t i o n s o f t h e a d p 5 5 8 6 c a n b e p r o g r a m m e d t o g e n e r a t e e v e n t s o n t h e f i f o . a f i f o u p d a t e c o n t r o l b l o c k m a n a g e s u p d a t e s t o t h e f i f o . i f a n i 2 c t r a n s a c t i o n i s a c c e s s i n g a n y o f t h e f i f o a d d r e s s l o c a t i o n s , u p d a t e s a r e p a u s e d u n t i l t h e i 2 c t r a n s a c t i o n i s c o m p l e t e . a f i f o o v e r f l o w e v e n t o c c u r s w h e n m o r e t h a n 1 6 e v e n t s a r e g e n e r a t e d p r i o r t o a n e x t e r n a l p r o c e s s o r r e a d i n g a f i f o a n d c l e a r i n g i t . i f a n o v e r f l o w c o n d i t i o n o c c u r s , t h e o v e r f l o w i n t e r r u p t s t a t u s b i t i s s e t ( o v r f l o w _ i n t , r e g i s t e r 0 x 0 1 , b i t 2 ) . a n i n t e r r u p t i s g e n e r a t e d i f a n o v e r f l o w i n t e r r u p t i s e n a b l e d , s i g n a l i n g t o t h e p r o c e s s o r t h a t m o r e t h a n 1 6 e v e n t s h a v e o c c u r r e d .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 1 0 o f 4 4 k e y s c a n c o n t r o l g e n e r a l t h e 1 0 i n p u t / o u t p u t p i n s c a n b e c o n f i g u r e d t o d e c o d e a k e y p a d m a t r i x u p t o a m a x i m u m s i z e o f 2 5 s w i t c h e s ( 5 5 m a t r i x ) u s i n g t h e p i n _ c o n f i g _ a , p i n _ c o n f i g _ b , a n d p i n _ c o n f i g _ c r e g i s t e r s ( r e g i s t e r s 0 x 3 a t h r o u g h 0 x 3 c ) . s m a l l e r m a t r i c e s c a n a l s o b e c o n f i g u r e d , m a k i n g t h e u n u s e d r o w a n d c o l u m n p i n s a v a i l a b l e f o r o t h e r i / o f u n c t i o n s . t h e r 0 t h r o u g h r 4 i / o p i n s c o m p r i s e t h e r o w s o f t h e k e y p a d m a t r i x . t h e c 0 t h r o u g h c 4 i / o p i n s c o m p r i s e t h e c o l u m n s o f t h e k e y p a d m a t r i x . p i n s t h a t a r e u s e d a s r o w s a r e p u l l e d u p v i a t h e i n t e r n a l 3 0 0 k  ( o r 1 0 0 k  ) r e s i s t o r s . p i n s t h a t a r e u s e d a s c o l u m n s a r e d r i v e n l o w v i a t h e i n t e r n a l n m o s c u r r e n t s i n k . 1 2 3 4 5 6 7 8 9 r 0 r 1 r 2 c 2 c 0 c 1 3 3 k e y p a d m a t r i x k e y s c a n c o n t r o l v d d 1 1 1 4 8 - 0 0 8 f i g u r e 8 . s i m p l i f i e d k e y s c a n b l o c k f i g u r e 8 s h o w s a s i m p l i f i e d r e p r e s e n t a t i o n o f t h e k e y s c a n b l o c k u s i n g t h r e e r o w p i n s a n d t h r e e c o l u m n p i n s c o n n e c t e d t o a s m a l l 3 3 , n i n e - s w i t c h k e y p a d m a t r i x . w h e n t h e k e y s c a n n e r i s i d l e , t h e r o w p i n s a r e p u l l e d h i g h a n d t h e c o l u m n p i n s a r e d r i v e n l o w . t h e k e y s c a n n e r o p e r a t e s b y c h e c k i n g t h e r o w p i n s t o s e e i f t h e y a r e l o w . i f s w i t c h 6 i n t h e m a t r i x i s p r e s s e d , r 1 c o n n e c t s t o c 2 . t h e k e y s c a n c i r c u i t s e n s e s t h a t o n e o f t h e r o w p i n s h a s b e e n p u l l e d l o w , a n d a k e y s c a n c y c l e b e g i n s . k e y s c a n n i n g i n v o l v e s d r i v i n g a l l c o l u m n p i n s h i g h , t h e n d r i v i n g e a c h c o l u m n p i n l o w , o n e a t a t i m e , a n d s e n s i n g w h e t h e r a r o w p i n i s l o w . a l l r o w / c o l u m n p a i r s a r e s c a n n e d ; t h e r e f o r e , i f m u l t i p l e k e y s a r e p r e s s e d , t h e y a r e d e t e c t e d . t o p r e v e n t a g l i t c h o r n a r r o w p r e s s t i m e f r o m b e i n g r e g i s t e r e d a s a v a l i d k e y p r e s s , t h e k e y s c a n n e r r e q u i r e s t h a t t h e k e y b e p r e s s e d f o r t w o s c a n c y c l e s . t h e k e y s c a n n e r h a s a w a i t t i m e b e t w e e n e a c h s c a n c y c l e ; t h e r e f o r e , t h e k e y m u s t b e p r e s s e d a n d h e l d f o r a t l e a s t t h i s w a i t t i m e t o r e g i s t e r a s b e i n g p r e s s e d . i f t h e k e y i s c o n t i n u o u s l y p r e s s e d , t h e k e y s c a n n e r c o n t i n u e s t o s c a n a n d w a i t f o r a s l o n g a s t h e k e y i s p r e s s e d . i f s w i t c h 6 i s r e l e a s e d , t h e c o n n e c t i o n b e t w e e n r 1 a n d c 2 b r e a k s , a n d r 1 i s p u l l e d h i g h . t h e k e y s c a n n e r r e q u i r e s t h a t t h e k e y b e r e l e a s e d f o r t w o s c a n c y c l e s b e c a u s e t h e r e l e a s e o f a k e y i s n o t n e c e s s a r i l y i n s y n c w i t h t h e k e y s c a n n e r . u p t o t w o f u l l w a i t / s c a n c y c l e s m a y b e r e q u i r e d f o r a k e y t o r e g i s t e r a s r e l e a s e d . w h e n t h e k e y r e g i s t e r s a s r e l e a s e d , a n d n o o t h e r k e y s a r e p r e s s e d , t h e k e y s c a n n e r r e t u r n s t o i d l e m o d e . f o r t h e r e m a i n d e r o f t h i s d a t a s h e e t , t h e p r e s s / r e l e a s e s t a t u s o f a k e y i s r e p r e s e n t e d a s s i m p l y a l o g i c s i g n a l i n t h e f i g u r e s . a l o g i c h i g h l e v e l r e p r e s e n t s t h e k e y s t a t u s a s p r e s s e d , a n d a l o g i c l o w l e v e l r e p r e s e n t s r e l e a s e d . t h i s e l i m i n a t e s t h e n e e d t o d r a w i n d i v i d u a l r o w / c o l u m n s i g n a l s w h e n d e s c r i b i n g k e y e v e n t s . k e y x k e y r e l e a s e d k e y r e l e a s e d k e y p r e s s e d 1 1 1 4 8 - 0 0 9 f i g u r e 9 . l o g i c l o w : k e y r e l e a s e d ; l o g i c h i g h : k e y p r e s s e d
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 1 1 o f 4 4 1 1 1 4 8 - 0 1 0 l o g i c e v e n t 5 4 3 2 1 1 0 9 8 7 6 1 5 1 4 1 3 1 2 1 1 2 0 1 9 1 8 1 7 1 6 2 5 2 4 2 3 2 2 2 1 3 0 2 9 2 8 2 7 2 6 i / o c o n f i g u r a t i o n k e y e v e n t g p i e v e n t i 2 c b u s y ? r 0 r 3 r 1 r 2 r 4 r 5 * c 0 c 1 c 2 c 3 c 4 p i n _ c o n f i g _ a [ 7 : 0 ] p i n _ c o n f i g _ b [ 7 : 0 ] f i f o p i n _ c o n f i g _ c [ 7 : 0 ] e v e n t _ i n t o v r f l o w _ i n t e c [ 4 : 0 ] r e s e t _ t r i g _ t i m e [ 3 : 0 ] r e s e t _ e v e n t _ a [ 7 : 0 ] r e s e t _ e v e n t _ b [ 7 : 0 ] r e s e t _ e v e n t _ c [ 7 : 0 ] 3 1 3 3 3 6 3 2 3 5 3 4 r e s e t _ i n i t i a t e f i f o u p d a t e k e y s c a n c o n t r o l c o l u m n s i n k o n / o f f r o w s e n s e * r 5 a v a i l a b l e o n a d p 5 5 8 6 a c b z - 0 1 - r 7 o n l y . f i g u r e 1 0 . d e t a i l e d k e y s c a n b l o c k f i g u r e 1 0 s h o w s a d e t a i l e d r e p r e s e n t a t i o n o f t h e k e y s c a n b l o c k a n d i t s a s s o c i a t e d c o n t r o l a n d s t a t u s s i g n a l s . w h e n a l l r o w a n d c o l u m n p i n s a r e u s e d , a m a t r i x o f 2 5 u n i q u e k e y s c a n b e s c a n n e d . u s e t h e p i n _ c o n f i g _ a [ 5 : 0 ] a n d p i n _ c o n f i g _ b [ 4 : 0 ] r e g i s t e r s ( r e g i s t e r 0 x 3 a a n d r e g i s t e r 0 x 3 b , r e s p e c t i v e l y ) t o c o n f i g u r e t h e i / o s f o r k e y p a d d e c o d i n g . t h e n u m b e r l a b e l o n e a c h k e y s w i t c h r e p r e s e n t s t h e e v e n t i d e n t i f i e r t h a t i s r e c o r d e d i f t h a t s w i t c h i s p r e s s e d . i f a l l r o w / c o l u m n p i n s a r e c o n f i g u r e d , i t i s p o s s i b l e t o o b s e r v e a l l 2 5 k e y i d e n t i f i e r s o n t h e f i f o . i f a s m a l l e r 2 2 m a t r i x i s c o n f i g u r e d , f o r e x a m p l e , b y u s i n g t h e c 2 a n d c 3 c o l u m n p i n s a n d t h e r 1 a n d r 2 r o w p i n s , o n l y f o u r e v e n t i d e n t i f i e r s ( 8 , 9 , 1 3 , a n d 1 4 ) c a n p o s s i b l y b e o b s e r v e d o n t h e f i f o , a s s h o w n i n f i g u r e 1 0 . b y d e f a u l t , t h e a d p 5 5 8 6 r e c o r d s k e y p r e s s e s a n d r e l e a s e s o n t h e f i f o . f i g u r e 1 1 i l l u s t r a t e s w h a t h a p p e n s w h e n a s i n g l e k e y i s p r e s s e d a n d r e l e a s e d . i n i t i a l l y , t h e k e y s c a n n e r i s i d l e . w h e n k e y 3 i s p r e s s e d , t h e s c a n n e r b e g i n s s c a n n i n g t h r o u g h a l l c o n f i g u r e d r o w / c o l u m n p a i r s . a f t e r t h e s c a n w a i t t i m e , t h e s c a n n e r a g a i n s c a n s t h r o u g h a l l c o n f i g u r e d r o w / c o l u m n p a i r s a n d d e t e c t s t h a t k e y 3 h a s r e m a i n e d p r e s s e d , w h i c h s e t s t h e e v e n t _ i n t i n t e r r u p t b i t ( r e g i s t e r 0 x 0 1 , b i t 0 ) . t h e e v e n t c o u n t e r , e c [ 4 : 0 ] ( r e g i s t e r 0 x 0 2 , b i t s [ 4 : 0 ] ) , i s t h e n i n c r e m e n t e d t o 1 ; e v e n t 1 _ i d e n t i f i e r [ 6 : 0 ] o f t h e f i f o i s u p d a t e d w i t h i t s e v e n t i d e n t i f i e r s e t t o 3 ; a n d i t s e v e n t 1 _ s t a t e b i t i s s e t t o 1 , i n d i c a t i n g a k e y p r e s s . k e y 3 k e y 3 p r e s s k e y 3 r e l e a s e k e y s c a n e v e n t _ i n t e c [ 4 : 0 ] f i f o 1 2 10 0 0 33 0 0 1 1 1 4 8 - 0 1 1 f i g u r e 1 1 . p r e s s a n d r e l e a s e e v e n t t h e k e y s c a n n e r c o n t i n u e s t h e s c a n / w a i t c y c l e s w h i l e t h e k e y r e m a i n s p r e s s e d . i f t h e s c a n n e r d e t e c t s t h a t t h e k e y h a s b e e n r e l e a s e d f o r t w o c o n s e c u t i v e s c a n c y c l e s , t h e e v e n t c o u n t e r , e c [ 4 : 0 ] , i s i n c r e m e n t e d t o 2 , a n d e v e n t 2 _ i d e n t i f i e r [ 6 : 0 ] o f t h e f i f o i s u p d a t e d w i t h i t s e v e n t i d e n t i f i e r s e t t o 3 . t h e e v e n t 2 _ s t a t e b i t i s s e t t o 0 , i n d i c a t i n g a r e l e a s e . t h e k e y s c a n n e r r e t u r n s t o i d l e m o d e b e c a u s e n o o t h e r k e y s a r e p r e s s e d .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 1 2 o f 4 4 t h e e v e n t _ i n t i n t e r r u p t ( r e g i s t e r 0 x 0 1 , b i t 0 ) c a n b e t r i g g e r e d b y b o t h p r e s s a n d r e l e a s e k e y e v e n t s . a s s h o w n i n f i g u r e 1 2 , i f k e y 3 i s p r e s s e d , e v e n t _ i n t i s a s s e r t e d , e c [ 4 : 0 ] i s u p d a t e d , a n d t h e f i f o i s u p d a t e d . d u r i n g t h e t i m e t h a t t h e k e y r e m a i n s p r e s s e d , i t i s p o s s i b l e f o r t h e f i f o t o b e r e a d , t h e e v e n t c o u n t e r d e c r e m e n t e d t o 0 , a n d e v e n t _ i n t c l e a r e d . w h e n t h e k e y i s f i n a l l y r e l e a s e d , e v e n t _ i n t i s a s s e r t e d , t h e e v e n t c o u n t e r i s i n c r e m e n t e d , a n d t h e f i f o i s u p d a t e d w i t h t h e r e l e a s e e v e n t i n f o r m a t i o n . k e y 3 k e y 3 p r e s s k e y 3 2 r e l e a s e k e y s c a n e v e n t _ i n t e v e n t _ i n t c l e a r e d e c [ 4 : 0 ] f i f o f i f o r e a d 00 0 0 00 0 0 f i f o 10 0 0 30 0 0 f i f o 1 0 1 00 0 0 30 0 0 1 1 1 4 8 - 0 1 2 f i g u r e 1 2 . a s s e r t i n g t h e e v e n t _ i n t i n t e r r u p t k e y p a d e x t e n s i o n a s s h o w n i n f i g u r e 1 0 , t h e k e y p a d c a n b e e x t e n d e d i f e a c h r o w i s c o n n e c t e d d i r e c t l y t o g r o u n d b y a s w i t c h . i f t h e s w i t c h p l a c e d b e t w e e n r 0 a n d g r o u n d i s p r e s s e d , t h e e n t i r e r o w i s g r o u n d e d . w h e n t h e k e y s c a n n e r c o m p l e t e s s c a n n i n g , i t n o r m a l l y d e t e c t s k e y 1 t o k e y 5 a s b e i n g p r e s s e d ; h o w e v e r , t h i s u n i q u e c o n d i t i o n i s d e c o d e d b y t h e a d p 5 5 8 6 , a n d k e y e v e n t 3 1 i s a s s i g n e d t o i t . u p t o f i v e m o r e k e y e v e n t a s s i g n m e n t s a r e p o s s i b l e , a l l o w i n g t h e k e y p a d s i z e t o e x t e n d u p t o 3 0 . h o w e v e r , i f o n e o f t h e e x t e n d e d k e y s i s p r e s s e d , n o n e o f t h e k e y s o n t h a t r o w i s d e t e c t a b l e . t h e a c t i v a t i o n o f a g r o u n d k e y c a u s e s a l l o t h e r k e y s s h a r i n g t h a t r o w t o b e u n d e t e c t a b l e . p r e c h a r g e t i m e d u r i n g a s c a n s e q u e n c e , a r o w s c a n s t h r o u g h t h e c o l u m n s s e q u e n t i a l l y . e a c h r o w / c o l u m n c o m b i n a t i o n i s t e s t e d a t a r a t e t h a t i s d e f i n e d b y t h e k e y _ p o l l _ t i m e b i t s ( r e g i s t e r 0 x 3 9 , b i t s [ 1 : 0 ] ) . w i t h i n e a c h o f t h e s e s c a n t i m e s , e a c h c o l u m n i s s c a n n e d f o r a t i m e d e f i n e d b y t h e p r e c h a r g e _ t i m e b i t ( r e g i s t e r 0 x 3 9 , b i t 3 ) . a s s h o w n i n f i g u r e 1 3 , t h e r e s i s t a n c e c a p a c i t a n c e ( r c ) t i m e c o n s t a n t , w h i c h i s d e f i n e d b y t h e s e r i e s r e s i s t a n c e ( f r o m p u l l - u p / p u l l - d o w n , f o r e x a m p l e ) a n d p a r a l l e l c a p a c i t a n c e t h a t i s s e e n o n t h e i n d i v i d u a l c o l u m n s , a f f e c t s t h e s a m p l i n g o f a k e y p r e s s e v e n t . r 1 s c a n a c t i v e k e y 8 ( r 1 , c 2 ) s a m p l e d p r e c h a r g e t i m e k e y 9 ( r 1 , c 3 ) s a m p l e d v c 2 v c 3 1 1 1 4 8 - 0 1 3 f i g u r e 1 3 . p r e c h a r g e t i m e t h e a d p 5 5 8 6 s a m p l e s t h e s t a t e o f t h e r o w / c o l u m n p a i r s n e a r t h e e n d o f t h e p r e c h a r g e t i m e . b y e x t e n d i n g t h i s t i m e , h i g h e r r c t i m e c o n s t a n t s c a n b e a c c o m m o d a t e d . f o r a p p l i c a t i o n s t h a t u s e p h y s i c a l b u t t o n s , t h e r c t i m e c o n s t a n t i s u s u a l l y n o t a n i s s u e , b u t i f e x t e r n a l r e l a y s w i t c h e s o r m u l t i p l e e x t e r n a l m u x e s a r e a t t a c h e d t o c o l u m n s , t h e r c c o n s t a n t m a y i n c r e a s e . u s i n g a s m a l l e r p u l l - u p r e s i s t o r o n t h e r o w s ( r e g i s t e r 0 x 3 c , b i t 7 ) r e d u c e s t h e r c t i m e c o n s t a n t . g h o s t i n g g h o s t i n g i s a n o c c u r r e n c e w h e r e , g i v e n c e r t a i n k e y p r e s s c o m b i n a t i o n s o n a k e y p a d m a t r i x , a f a l s e p o s i t i v e r e a d i n g o f a n a d d i t i o n a l k e y i s d e t e c t e d . g h o s t i n g i s c r e a t e d w h e n t h r e e o r m o r e k e y s a r e p r e s s e d s i m u l t a n e o u s l y o n m u l t i p l e r o w s o r c o l u m n s ( s e e f i g u r e 1 4 ) . k e y c o m b i n a t i o n s t h a t f o r m a r i g h t a n g l e o n t h e k e y p a d m a t r i x m a y c a u s e g h o s t i n g . c o l 0 r o w 0 r o w 1 r o w 2 r o w 3 p r e s s g h o s t p r e s s p r e s s c o l 1 c o l 2 1 1 1 4 8 - 0 1 4 f i g u r e 1 4 . g h o s t i n g e x a m p l e : c o l u m n 0 / r o w 3 i s a g h o s t k e y d u e t o a s h o r t a m o n g r o w 0 , c o l u m n 0 , c o l u m n 2 , a n d r o w 3 d u r i n g k e y p r e s s t h e s o l u t i o n t o g h o s t i n g i s t o s e l e c t a k e y p a d m a t r i x l a y o u t t h a t t a k e s i n t o a c c o u n t t h r e e k e y c o m b i n a t i o n s t h a t a r e m o s t l i k e l y t o b e p r e s s e d t o g e t h e r . m u l t i p l e k e y s t h a t a r e p r e s s e d a c r o s s o n e r o w o r a c r o s s o n e c o l u m n d o n o t c a u s e g h o s t i n g . s t a g g e r i n g k e y s s o t h a t t h e y d o n o t s h a r e a c o l u m n a l s o a v o i d s g h o s t i n g . t h e m o s t c o m m o n p r a c t i c e i s t o p l a c e k e y s i n t h e s a m e r o w o r c o l u m n t h a t a r e l i k e l y t o b e p r e s s e d a t t h e s a m e t i m e . s o m e e x a m p l e s o f k e y s t h a t a r e l i k e l y t o b e p r e s s e d a t t h e s a m e t i m e a r e a s f o l l o w s : x t h e n a v i g a t i o n k e y s i n c o m b i n a t i o n w i t h t h e s e l e c t k e y x t h e n a v i g a t i o n k e y s i n c o m b i n a t i o n w i t h t h e s p a c e b a r x t h e r e s e t c o m b i n a t i o n k e y s , s u c h a s c t r l + a l t + d e l
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 1 3 o f 4 4 g p i i n p u t e a c h o f t h e 1 0 i n p u t / o u t p u t l i n e s c a n b e c o n f i g u r e d a s a g e n e r a l - p u r p o s e l o g i c i n p u t l i n e u s i n g t h e g p i o _ i n p _ e n _ a a n d g p i o _ i n p _ e n _ b r e g i s t e r s ( r e g i s t e r 0 x 2 9 a n d r e g i s t e r 0 x 2 a ) . g p i o l i n e s c a n b e c o n f i g u r e d t o a l l o w b o t h i n p u t a n d o u t p u t a t t h e s a m e t i m e . f i g u r e 1 5 s h o w s a d e t a i l e d r e p r e s e n t a t i o n o f t h e g p i s c a n a n d d e t e c t b l o c k a n d i t s a s s o c i a t e d c o n t r o l a n d s t a t u s s i g n a l s . g p i _ i n t g p i o 1 g p i o 2 g p i o 3 g p i o 4 g p i o 5 g p i o 6 g p i o 7 g p i o 8 g p i o 9 ( r 0 ) ( r 1 ) ( r 2 ) ( r 3 ) ( r 4 ) r s t / ( r 5 ) ( c 0 ) ( c 1 ) ( c 2 ) g p i o 1 0 g p i o 1 1 ( c 3 ) ( c 4 ) g p i e v e n t k e y e v e n t o v r f l o w _ i n t l o g i c e v e n t g p i _ i n t _ l e v e l _ a [ 7 : 0 ] g p i _ i n t _ l e v e l _ b [ 7 : 0 ] g p i _ i n t e r r u p t _ e n _ a [ 7 : 0 ] g p i o _ o u t _ e n _ b [ 7 : 0 ] g p i o _ i n p _ e n _ a [ 7 : 0 ] g p i o _ i n p _ e n _ b [ 7 : 0 ] g p i o _ o u t _ e n _ a [ 7 : 0 ] p i n _ c o n f i g _ b [ 7 : 0 ] p i n _ c o n f i g _ a [ 7 : 0 ] g p i _ s t a t u s _ a [ 5 : 0 ] g p i _ s t a t u s _ b [ 4 : 0 ] g p i _ i n t _ s t a t _ a [ 5 : 0 ] g p i _ e v e n t _ e n _ a [ 7 : 0 ] g p i _ i n t e r r u p t _ e n _ b [ 7 : 0 ] g p i _ e v e n t _ e n _ b [ 7 : 0 ] e v e n t _ i n t g p i _ i n t _ s t a t _ b [ 4 : 0 ] r e s e t _ t r i g _ t i m e [ 3 : 0 ] r e s e t _ e v e n t _ a [ 7 : 0 ] r e s e t _ e v e n t _ b [ 7 : 0 ] r e s e t _ e v e n t _ c [ 7 : 0 ] [ f i f o 1 : f i f o 1 6 ] e c [ 4 : 0 ] f i f o u p d a t e i 2 c b u s y g p i s c a n c o n t r o l 1 1 1 4 8 - 0 1 5 f i g u r e 1 5 . g p i s c a n a n d d e t e c t b l o c k t h e c u r r e n t i n p u t s t a t e o f e a c h g p i c a n b e r e a d b a c k u s i n g t h e g p i _ s t a t u s _ x r e g i s t e r s ( r e g i s t e r 0 x 1 5 a n d r e g i s t e r 0 x 1 6 ) . e a c h g p i c a n b e p r o g r a m m e d t o g e n e r a t e a n i n t e r r u p t v i a t h e g p i _ i n t e r r u p t _ e n _ x r e g i s t e r s ( r e g i s t e r 0 x 1 f a n d r e g i s t e r 0 x 2 0 ) . t h e i n t e r r u p t s t a t u s i s s t o r e d i n t h e g p i _ i n t _ s t a t _ x r e g i s t e r s ( r e g i s t e r 0 x 1 3 a n d r e g i s t e r 0 x 1 4 ) . g p i i n t e r r u p t s c a n b e p r o g r a m m e d t o t r i g g e r o n t h e p o s i t i v e o r n e g a t i v e e d g e b y c o n f i g u r i n g t h e g p i _ i n t _ l e v e l _ x r e g i s t e r s ( r e g i s t e r 0 x 1 b a n d r e g i s t e r 0 x 1 c ) . i f a n y g p i i n t e r r u p t i s t r i g g e r e d , t h e m a s t e r g p i _ i n t i n t e r r u p t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i s a l s o t r i g g e r e d . f i g u r e 1 6 s h o w s a s i n g l e g p i a n d h o w i t a f f e c t s i t s c o r r e s p o n d - i n g s t a t u s a n d t h e i n t e r r u p t s t a t u s b i t s . g p i 4 g p i _ s t a t u s _ a [ 3 ] g p i _ i n t e r r u p t _ e n _ a [ 3 ] g p i _ i n t _ s t a t _ a [ 3 ] g p i _ i n t g p i _ i n t _ l e v e l _ a [ 3 ] c l e a r e d b y r e a d c l e a r e d b y w r i t e ? 1 ? 1 1 1 4 8 - 0 1 6 f i g u r e 1 6 . s i n g l e g p i e x a m p l e g p i s c a n b e p r o g r a m m e d t o g e n e r a t e f i f o e v e n t s v i a t h e g p i _ e v e n t _ e n _ x r e g i s t e r s ( r e g i s t e r 0 x 1 d a n d r e g i s t e r 0 x 1 e ) . g p i s i n t h i s m o d e d o n o t g e n e r a t e g p i _ i n t i n t e r r u p t s . i n s t e a d , t h e y g e n e r a t e e v e n t _ i n t i n t e r r u p t s ( r e g i s t e r 0 x 0 1 , b i t 0 ) . f i g u r e 1 7 s h o w s s e v e r a l g p i l i n e s a n d t h e i r e f f e c t s o n t h e f i f o a n d e v e n t c o u n t , e c [ 4 : 0 ] . g p i 2 g p i s c a n e v e n t _ i n t e c [ 4 : 0 ] 1 6 g p i 2 a c t i v e g p i 4 g p i 7 2 3 4 5 g p i 7 a c t i v e g p i 4 a c t i v e g p i 4 i n a c t i v e g p i 7 i n a c t i v e g p i 2 i n a c t i v e f i f o 11 1 0 0 0 3 8 3 8 4 3 4 3 4 0 4 0 1 1 1 4 8 - 0 1 7 f i g u r e 1 7 . m u l t i p l e g p i e x a m p l e t h e g p i s c a n n e r i s i d l e u n t i l i t d e t e c t s a l e v e l t r a n s i t i o n . i t t h e n s c a n s t h e g p i i n p u t s a n d u p d a t e s a c c o r d i n g l y . a f t e r u p d a t i n g , i t r e t u r n s i m m e d i a t e l y t o i d l e ; i t d o e s n o t s c a n / w a i t , l i k e t h e k e y s c a n n e r . a s a r e s u l t , t h e g p i s c a n n e r c a n d e t e c t b o t h e d g e s o f n a r r o w p u l s e s a f t e r t h e y p a s s t h e 7 0  s i n p u t d e b o u n c e f i l t e r . g p o o u t p u t e a c h o f t h e 1 0 i n p u t / o u t p u t l i n e s c a n b e c o n f i g u r e d a s a g e n e r a l - p u r p o s e o u t p u t ( g p o ) l i n e u s i n g t h e g p i o _ o u t _ e n _ a a n d g p i o _ o u t _ e n _ b r e g i s t e r s ( r e g i s t e r 0 x 2 7 a n d r e g i s t e r 0 x 2 8 ) . g p i o l i n e s c a n b e c o n f i g u r e d t o a l l o w b o t h i n p u t a n d o u t p u t a t t h e s a m e t i m e ( s e e f i g u r e 5 f o r a d e t a i l e d d i a g r a m o f t h e i / o s t r u c t u r e ) . g p o c o n f i g u r a t i o n a n d u s a g e a r e p r o g r a m m e d i n t h e g p o _ d a t a _ o u t _ x a n d g p o _ o u t _ m o d e _ x r e g i s t e r s ( r e g i s t e r 0 x 2 3 t o r e g i s t e r 0 x 2 6 ) . s e e t h e d e t a i l e d r e g i s t e r d e s c r i p t i o n s s e c t i o n f o r m o r e i n f o r m a t i o n .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 1 4 o f 4 4 l o g i c b l o c k s e v e r a l o f t h e a d p 5 5 8 6 i n p u t / o u t p u t l i n e s c a n b e u s e d a s i n p u t s a n d o u t p u t s f o r i m p l e m e n t i n g s o m e c o m m o n l o g i c f u n c t i o n s . t h e r 1 , r 2 , a n d r 3 i n p u t / o u t p u t p i n s c a n b e u s e d a s i n p u t s , a n d t h e r 0 i n p u t / o u t p u t p i n c a n b e u s e d a s a n o u t p u t f o r t h e l o g i c b l o c k . w h e n t h e r 1 , r 2 , a n d r 3 i n p u t l i n e s a r e u s e d , t h e g p i o _ 4 _ i n p _ e n , g p i o _ 3 _ i n p _ e n , a n d g p i o _ 2 _ i n p _ e n b i t s ( r e g i s t e r 0 x 2 9 , b i t s [ 3 : 1 ] ) m u s t b e e n a b l e d t o a c c e p t i n p u t s . w h e n t h e r 0 p i n i s u s e d a s a n o u t p u t f o r t h e l o g i c b l o c k , t h e g p i o _ 1 _ o u t _ e n b i t ( r e g i s t e r 0 x 2 7 , b i t 0 ) m u s t b e e n a b l e d . t h e o u t p u t s f r o m t h e l o g i c b l o c k c a n b e c o n f i g u r e d t o g e n e r a t e i n t e r r u p t s . t h e y c a n a l s o b e c o n f i g u r e d t o g e n e r a t e e v e n t s o n t h e f i f o . f i g u r e 1 9 s h o w s a d e t a i l e d d i a g r a m o f t h e i n t e r n a l m a k e u p o f t h e l o g i c b l o c k , i l l u s t r a t i n g t h e p o s s i b l e l o g i c f u n c t i o n s t h a t c a n b e i m p l e m e n t e d . g p i e v e n t k e y e v e n t l o g i c e v e n t ( r 1 ) l a l c l b l a _ i n v d c l r q s e t l b _ i n v l c _ i n v f f _ s e t f f _ c l r r 3 _ e x t e n d _ c f g l o g i c _ s e l [ 2 : 0 ] l y _ i n v ( r 2 ) ( r 3 ) l o g i c b l o c k l y ( r 0 ) l o g i c _ i n t l o g i c _ i n t _ l e v e l l o g i c _ e v e n t _ e n o v r f l o w _ i n t e v e n t _ i n t r e s e t _ t r i g _ t i m e [ 3 : 0 ] r e s e t _ e v e n t _ a [ 7 : 0 ] r e s e t _ e v e n t _ b [ 7 : 0 ] r e s e t _ e v e n t _ c [ 7 : 0 ] f i f o e c [ 4 : 0 ] l o g i c e v e n t / i n t g e n e r a t o r i 2 c b u s y f i f o u p d a t e 1 1 1 4 8 - 0 1 8 f i g u r e 1 8 . l o g i c b l o c k o v e r v i e w l a _ i n v m u x 0 0 0 0 0 1 s e l [ 2 : 0 ] o u t 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 s e l o u t 01 g n d a n d o r x o r f f i n _ l a i n _ l b i n _ l c l a l a l a i n _ l a s e l o u t 01 a n d i n _ l a i n _ l b i n _ l c r 3 _ e x t e n d _ c f g = 1 l o g i c _ s e l [ 2 : 0 ] l y _ i n v s e l o u t 01 l y l y l y l b _ i n v s e l o u t 01 l b l b l b i n _ l b l c _ i n v s e l o u t 01 l c l c l c i n _ l c f f _ s e t f f _ c l r s e l o u t 01 o r i n _ l a i n _ l b i n _ l c a n d a n d o r o r s e l o u t 01 x o r i n _ l a i n _ l b i n _ l c i n _ l a i n _ l b i n _ l c x o r x o r d c l r q s e t 01 s e l o u t f f 1 1 1 4 8 - 0 1 9 f i g u r e 1 9 . l o g i c b l o c k i n t e r n a l m a k e u p
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 1 5 o f 4 4 r e s e t b l o c k t h e a d p 5 5 8 6 f e a t u r e s a r e s e t b l o c k t h a t c a n g e n e r a t e r e s e t c o n - d i t i o n s i f c e r t a i n e v e n t s a r e d e t e c t e d s i m u l t a n e o u s l y . u p t o t h r e e r e s e t t r i g g e r e v e n t s c a n b e p r o g r a m m e d f o r r e s e t _ o u t . t h e e v e n t s c a n c o n t r o l b l o c k s m o n i t o r w h e t h e r t h e s e e v e n t s a r e p r e s e n t f o r t h e d u r a t i o n o f r e s e t _ t r i g _ t i m e [ 3 : 0 ] ( r e g i s t e r 0 x 2 e , b i t s [ 5 : 2 ] ) . i f t h e y a r e p r e s e n t , r e s e t - i n i t i a t e s i g n a l s a r e s e n t t o t h e r e s e t g e n e r a t o r b l o c k s . t h e g e n e r a t e d r e s e t s i g n a l p u l s e w i d t h i s p r o g r a m m a b l e . r e s e t _ p u l s e _ w i d t h [ 1 : 0 ] r e s e t _ t r i g _ t i m e [ 3 : 0 ] r e s e t _ e v e n t _ a [ 7 : 0 ] r e s e t _ e v e n t _ b [ 7 : 0 ] r e s e t _ e v e n t _ c [ 7 : 0 ] r s t _ p a s s t h r u _ e n r s t ( r 4 ) r e s e t _ o u t r e s e t _ i n i t i a t e r e s e t g e n k e y s c a n c o n t r o l g p i s c a n c o n t r o l l o g i c b l o c k c o n t r o l 1 1 1 4 8 - 0 2 0 f i g u r e 2 0 . r e s e t b l o c k s t h e r e s e t _ o u t s i g n a l u s e s t h e r 4 i / o p i n a s i t s o u t p u t , w h i c h m u s t b e c o n f i g u r e d v i a t h e g p i o _ 5 _ o u t _ e n b i t ( r e g i s t e r 0 x 2 7 , b i t 4 ) t o e n a b l e t h e o u t p u t f u n c t i o n . a p a s s - t h r o u g h m o d e a l s o a l l o w s t h e r s t p i n f u n c t i o n t o b e o u t p u t o n t h e r 4 p i n . t h e r e s e t g e n e r a t i o n s i g n a l s a r e u s e f u l i n s i t u a t i o n s w h e r e t h e s y s t e m p r o c e s s o r h a s l o c k e d u p a n d t h e s y s t e m i s u n r e s p o n s i v e t o i n p u t e v e n t s . t h e u s e r c a n p r e s s o n e o f t h e r e s e t e v e n t c o m b i - n a t i o n s a n d i n i t i a t e a s y s t e m - w i d e r e s e t , w h i c h e l i m i n a t e s t h e n e e d t o r e m o v e t h e b a t t e r y f r o m t h e s y s t e m a n d p e r f o r m a h a r d r e s e t . t h e u s e o f t h e i m m e d i a t e t r i g g e r t i m e s e t t i n g ( s e e t a b l e 5 5 ) i s r e c o m m e n d e d o n l y i n v e r y l o w n o i s e c o n d i t i o n s w i t h g o o d d e b o u n c e ; o t h e r w i s e , f a l s e t r i g g e r i n g m a y o c c u r . i n t e r r u p t s t h e i n t p i n c a n b e a s s e r t e d l o w i f a n y o f t h e i n t e r n a l i n t e r r u p t s o u r c e s i s a c t i v e . t h e u s e r c a n s e l e c t w h i c h i n t e r n a l i n t e r r u p t s i n t e r a c t w i t h t h e e x t e r n a l i n t e r r u p t p i n i n r e g i s t e r 0 x 3 e ( s e e t a b l e 7 1 ) . r e g i s t e r 0 x 3 d a l l o w s t h e u s e r t o c h o o s e w h e t h e r t h e e x t e r n a l i n t e r r u p t p i n r e m a i n s a s s e r t e d , o r d e a s s e r t s f o r 5 0 s a n d t h e n r e a s s e r t s , a s i n t h e c a s e w h e r e m u l t i p l e i n t e r n a l i n t e r r u p t s a r e a s s e r t e d a n d o n e i s c l e a r e d ( s e e t a b l e 7 0 ) . e v e n t _ i n t e v e n t _ i e n i n t d r i v e i n t i n t _ c f g g p i _ i n t g p i _ i e n l o g i c _ i n t l o g i c _ i e n o v r f l o w _ i n t o v r f l o w _ i e n 1 1 1 4 8 - 0 2 1 f i g u r e 2 1 . a s s e r t i n g i n t l o w
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 1 6 o f 4 4 p u l s e g e n e r a t o r s t h e a d p 5 5 8 6 c o n t a i n s t w o p u l s e g e n e r a t o r s t h a t a r e s u i t a b l e f o r d r i v i n g i n d i c a t o r l e d d r i v e s i g n a l s , a s w e l l a s w a t c h d o g t i m e r s a n d o t h e r e x t e n d e d t i m e p u l s e d a p p l i c a t i o n s . t h e a d p 5 5 8 6 a l l o w s f o r e i g h t b i t s o f d e f i n i t i o n f o r b o t h t h e o n t i m e a n d p e r i o d o f t h e g e n e r a t e d p u l s e . t o a l l o w f o r e x t e n d e d t i m i n g s , t h e u s e r c a n c h o o s e b e t w e e n a 1 m s c l o c k a n d a 1 2 5 m s c l o c k t o i n c r e m e n t t h e s e t i m e r s . t h e p u l s e _ g e n _ 1 _ p e r i o d a n d p u l s e _ g e n _ 2 _ p e r i o d r e g i s t e r s ( r e g i s t e r 0 x 3 0 a n d r e g i s t e r 0 x 3 3 , r e s p e c t i v e l y ) d e f i n e t h e p e r i o d s o f t h e t w o p u l s e g e n e r a t o r s . c h o o s i n g a c l o c k p e r i o d o f 1 2 5 m s i n t h e p u l s e _ g e n _ c o n f i g r e g i s t e r ( r e g i s t e r 0 x 3 5 , b i t 1 a n d b i t 5 ) a l l o w s f o r t h e s e t t i n g o f p u l s e g e n e r a t o r p e r i o d s o f u p t o 3 1 . 8 7 5 s e c . s e t t i n g t h e p u l s e _ g e n _ x _ o n _ c l k b i t t o a s t e p s i z e o f 1 2 5 m s a n d t h e p u l s e _ g e n _ x _ p r d _ c l k b i t t o a s t e p s i z e o f 1 m s i s n o t a s u p p o r t e d c o n f i g u r a t i o n . t o s u p p o r t a c t i v e l o w a p p l i c a t i o n s , a s i g n a l i n v e r s i o n c a n b e p r o g r a m m e d i n t h e p u l s e _ g e n _ c o n f i g r e g i s t e r , u s i n g b i t 7 a n d b i t 3 ( p u l s e _ g e n _ x _ i n v ) . d e l a y s c a n b e i n t r o d u c e d t o c r e a t e s y n c h r o n i z e d o f f s e t s b e t w e e n t h e c h a n n e l s . i f b o t h c h a n n e l s a r e e n a b l e d a t t h e s a m e t i m e ( t h a t i s , e n a b l e d f r o m t h e s a m e i 2 c w r i t e ) , t h e d i f f e r e n c e i n d e l a y s i s t h e o f f s e t b e t w e e n t h e c h a n n e l s . i f a s i n g l e c h a n n e l i s a c t i v e a n d d e l a y s a r e t o b e s y n c h r o n i z e d , t h e u s e r m u s t f i r s t d i s a b l e b o t h p u l s e g e n e r a t o r s b e f o r e e n a b l i n g b o t h p u l s e g e n e r a t o r s w i t h t h e s a m e i 2 c w r i t e c o m m a n d . t h e d e l a y c o u n t e r u s e s t h e s a m e c l o c k s e l e c t i o n a s t h e p e r i o d c o u n t e r . s e e t a b l e 5 6 t h r o u g h t a b l e 6 1 f o r m o r e d e t a i l s . t o e n a b l e p u l s e g e n e r a t o r o u t p u t o n c 1 a n d / o r c 0 , t h e g p i o _ 8 _ o u t _ e n b i t a n d / o r t h e g p i o _ 7 _ o u t _ e n b i t ( r e g i s t e r 0 x 2 8 , b i t s [ 1 : 0 ] ) m u s t b e e n a b l e d . 1 1 1 4 8 - 0 2 2 p u l s e _ g e n _ x p u l s e _ g e n _ x _ o n _ t i m e [ 7 : 0 ] 1 2 5 m s c l o c k 1 m s c l o c k p u l s e _ g e n _ x _ o n _ c l k p u l s e _ g e n _ x _ p r d _ c l k p u l s e _ g e n _ x _ p e r i o d [ 7 : 0 ] p u l s e _ g e n _ x _ d e l a y [ 7 : 0 ] p u l s e g e n e r a t o r p u l s e _ g e n _ x _ i n v 01 0 1 o n t i m e c o u n t e r x p e r i o d c o u n t e r x d e l a y c o u n t e r x p u l s e _ g e n _ x _ e n f i g u r e 2 2 . p u l s e g e n e r a t o r b l o c k d i a g r a m 1 1 1 4 8 - 0 2 3 p e r i o d 1 p e r i o d 2 p u l s e _ g e n _ 1 o n t i m e 1 p u l s e _ g e n _ 2 o n t i m e 2 s d a / s c l d e l a y 1 d e l a y 2 f i g u r e 2 3 . e x a m p l e p u l s e g e n e r a t o r t i m i n g
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 1 7 o f 4 4 r e g i s t e r i n t e r f a c e r e g i s t e r a c c e s s t o t h e a d p 5 5 8 6 i s a c q u i r e d v i a i t s i 2 c - c o m p a t i b l e s e r i a l i n t e r f a c e . t h e i n t e r f a c e c a n s u p p o r t c l o c k f r e q u e n c i e s o f u p t o 1 m h z . i f t h e u s e r i s a c c e s s i n g t h e f i f o o r k e y e v e n t c o u n t e r ( k e c ) , f i f o / k e c u p d a t e s a r e p a u s e d . i f t h e c l o c k f r e q u e n c y i s v e r y l o w , e v e n t s m a y n o t b e r e c o r d e d i n a t i m e l y m a n n e r . f i f o o r k e c u p d a t e s c a n h a p p e n u p t o 2 3 s a f t e r a n i n t e r r u p t i s a s s e r t e d b e c a u s e o f t h e n u m b e r o f i 2 c c y c l e s r e q u i r e d t o p e r f o r m a n i 2 c r e a d o r w r i t e . t h i s d e l a y s h o u l d n o t p r e s e n t a n i s s u e t o t h e u s e r . f i g u r e 2 4 s h o w s a t y p i c a l w r i t e s e q u e n c e f o r p r o g r a m m i n g a n i n t e r n a l r e g i s t e r . t h e c y c l e b e g i n s w i t h a s t a r t c o n d i t i o n , f o l l o w e d b y t h e h a r d c o d e d 7 - b i t d e v i c e a d d r e s s , w h i c h f o r t h e a d p 5 5 8 6 i s 0 x 3 4 , f o l l o w e d b y t h e r / w b i t s e t t o 0 f o r a w r i t e c y c l e . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e a d d r e s s b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e a d d r e s s o f t h e r e g i s t e r t o w h i c h d a t a i s t o b e w r i t t e n i s s e n t n e x t . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e r e g i s t e r p o i n t e r b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e d a t a b y t e t o b e w r i t t e n i s s e n t n e x t . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e d a t a b y t e b y p u l l i n g t h e d a t a l i n e l o w . a s t o p c o n d i t i o n c o m p l e t e s t h e s e q u e n c e . f i g u r e 2 5 s h o w s a t y p i c a l m u l t i b y t e w r i t e s e q u e n c e f o r p r o g r a m - m i n g i n t e r n a l r e g i s t e r s . t h e c y c l e b e g i n s w i t h a s t a r t c o n d i t i o n f o l l o w e d b y t h e 7 - b i t d e v i c e a d d r e s s ( 0 x 3 4 ) , f o l l o w e d b y t h e r / w b i t , w h i c h i s s e t t o 0 f o r a w r i t e c y c l e . t h e a d p 5 5 8 6 6 a c k n o w l e d g e s t h e a d d r e s s b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e a d d r e s s o f t h e r e g i s t e r t o w h i c h d a t a i s t o b e w r i t t e n i s s e n t n e x t . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e r e g i s t e r p o i n t e r b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e d a t a b y t e t o b e w r i t t e n i s s e n t n e x t . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e d a t a b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e p o i n t e r a d d r e s s i s t h e n i n c r e m e n t e d t o w r i t e t h e n e x t d a t a b y t e , u n t i l i t f i n i s h e s w r i t i n g t h e n d a t a b y t e . t h e a d p 5 5 8 6 p u l l s t h e d a t a l i n e l o w a f t e r e v e r y b y t e , a n d a s t o p c o n d i t i o n c o m p l e t e s t h e s e q u e n c e . f i g u r e 2 6 s h o w s a t y p i c a l b y t e r e a d s e q u e n c e f o r r e a d i n g i n t e r - n a l r e g i s t e r s . t h e c y c l e b e g i n s w i t h a s t a r t c o n d i t i o n f o l l o w e d b y t h e 7 - b i t d e v i c e a d d r e s s , f o l l o w e d b y t h e r / w b i t s e t t o 0 f o r a w r i t e c y c l e . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e a d d r e s s b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e a d d r e s s o f t h e r e g i s t e r f r o m w h i c h d a t a i s t o b e r e a d i s s e n t n e x t . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e r e g i s t e r p o i n t e r b y t e b y p u l l i n g t h e d a t a l i n e l o w . a s t a r t c o n d i - t i o n i s r e p e a t e d , f o l l o w e d b y t h e 7 - b i t d e v i c e a d d r e s s ( 0 x 3 4 ) , f o l l o w e d b y t h e r / w b i t s e t t o 1 f o r a r e a d c y c l e . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e a d d r e s s b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e 8 - b i t d a t a i s t h e n r e a d . t h e h o s t p u l l s t h e d a t a l i n e h i g h ( n o a c k n o w l e d g e ) , a n d a s t o p c o n d i t i o n c o m p l e t e s t h e s e q u e n c e . s t a r t 0 = w r i t e 7 - b i t d e v i c e a d d r e s s a d p 5 5 8 6 a c k 8 - b i t r e g i s t e r p o i n t e r 8 - b i t w r i t e d a t a 0 0 0 0 a d p 5 5 8 6 a c k a d p 5 5 8 6 a c k s t o p 1 1 1 4 8 - 0 2 4 f i g u r e 2 4 . i 2 c s i n g l e b y t e w r i t e s e q u e n c e s t a r t 0 = w r i t e 7 - b i t d e v i c e a d d r e s s a d p 5 5 8 6 a c k 8 - b i t r e g i s t e r p o i n t e r w r i t e b y t e 1 w r i t e b y t e 2 w r i t e b y t e n 0 0 0 0 0 0 0 a d p 5 5 8 6 a c k a d p 5 5 8 6 a c k a d p 5 5 8 6 a c k a d p 5 5 8 6 a c k a d p 5 5 8 6 a c k s t o p 1 1 1 4 8 - 0 2 5 f i g u r e 2 5 . i 2 c m u l t i b y t e w r i t e s e q u e n c e s t a r t 0 = w r i t e 7 - b i t d e v i c e a d d r e s s 7 - b i t d e v i c e a d d r e s s a d p 5 5 8 6 a c k 8 - b i t r e g i s t e r p o i n t e r 8 - b i t r e a d d a t a 0 0 0 1 0 1 r e p e a t s t a r t 1 = r e a d a d p 5 5 8 6 a c k a d p 5 5 8 6 a c k n o a c k s t o p 1 1 1 4 8 - 0 2 6 f i g u r e 2 6 . i 2 c s i n g l e b y t e r e a d s e q u e n c e
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 1 8 o f 4 4 f i g u r e 2 7 s h o w s a t y p i c a l m u l t i b y t e r e a d s e q u e n c e f o r r e a d i n g i n t e r n a l r e g i s t e r s . t h e c y c l e b e g i n s w i t h a s t a r t c o n d i t i o n f o l l o w e d b y t h e 7 - b i t d e v i c e a d d r e s s ( 0 x 3 4 ) , f o l l o w e d b y t h e r / w b i t s e t t o 0 f o r a w r i t e c y c l e . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e a d d r e s s b y t e b y p u l l i n g t h e d a t a l i n e l o w . t h e a d d r e s s o f t h e r e g i s t e r f r o m w h i c h d a t a i s t o b e r e a d i s s e n t n e x t . t h e a d p 5 5 8 6 a c k n o w l - e d g e s t h e r e g i s t e r p o i n t e r b y t e b y p u l l i n g t h e d a t a l i n e l o w . a s t a r t c o n d i t i o n i s r e p e a t e d , f o l l o w e d b y t h e 7 - b i t d e v i c e a d d r e s s ( 0 x 3 4 ) , f o l l o w e d b y t h e r / w b i t s e t t o 1 f o r a r e a d c y c l e . t h e a d p 5 5 8 6 a c k n o w l e d g e s t h e a d d r e s s b y t e b y p u l l i n g t h e d a t a l i n e l o w . n e x t , t h e 8 - b i t d a t a i s t h e n r e a d . t h e a d d r e s s p o i n t e r i s t h e n i n c r e m e n t e d t o r e a d t h e n e x t d a t a b y t e , a n d t h e h o s t c o n t i n u e s t o p u l l t h e d a t a l i n e l o w f o r e a c h b y t e ( m a s t e r a c k n o w l e d g e ) u n t i l t h e n d a t a b y t e i s r e a d . t h e h o s t p u l l s t h e d a t a l i n e h i g h ( n o a c k n o w l e d g e ) a f t e r t h e l a s t b y t e i s r e a d , a n d a s t o p c o n d i t i o n c o m p l e t e s t h e s e q u e n c e . s t a r t 0 = w r i t e 7 - b i t d e v i c e a d d r e s s 7 - b i t d e v i c e a d d r e s s a d p 5 5 8 6 a c k 8 - b i t r e g i s t e r p o i n t e r r e a d b y t e 1 r e a d b y t e 2 r e a d b y t e n 0 0 0 1 0 0 0 0 1 r e p e a t s t a r t 1 = r e a d a d p 5 5 8 6 a c k a d p 5 5 8 6 a c k m a s t e r a c k m a s t e r a c k m a s t e r a c k n o a c k s t o p 1 1 1 4 8 - 0 2 7 f i g u r e 2 7 . i 2 c m u l t i b y t e r e a d s e q u e n c e
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 1 9 o f 4 4 r e g i s t e r m a p t a b l e 7 . r e g a d d r r e g i s t e r n a m e r / w 1 b i t 7 b i t 6 b i t 5 b i t 4 b i t 3 b i t 2 b i t 1 b i t 0 0 x 0 0 i d r m a n _ i d r e v _ i d 0 x 0 1 i n t _ s t a t u s r / w r e s e r v e d l o g i c _ i n t r e s e r v e d o v r f l o w _ i n t g p i _ i n t e v e n t _ i n t 0 x 0 2 s t a t u s r r e s e r v e d l o g i c _ s t a t r e s e r v e d e c [ 4 : 0 ] 0 x 0 3 f i f o _ 1 r e v e n t 1 _ s t a t e e v e n t 1 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 4 f i f o _ 2 r e v e n t 2 _ s t a t e e v e n t 2 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 5 f i f o _ 3 r e v e n t 3 _ s t a t e e v e n t 3 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 6 f i f o _ 4 r e v e n t 4 _ s t a t e e v e n t 4 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 7 f i f o _ 5 r e v e n t 5 _ s t a t e e v e n t 5 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 8 f i f o _ 6 r e v e n t 6 _ s t a t e e v e n t 6 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 9 f i f o _ 7 r e v e n t 7 _ s t a t e e v e n t 7 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 a f i f o _ 8 r e v e n t 8 _ s t a t e e v e n t 8 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 b f i f o _ 9 r e v e n t 9 _ s t a t e e v e n t 9 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 c f i f o _ 1 0 r e v e n t 1 0 _ s t a t e e v e n t 1 0 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 d f i f o _ 1 1 r e v e n t 1 1 _ s t a t e e v e n t 1 1 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 e f i f o _ 1 2 r e v e n t 1 2 _ s t a t e e v e n t 1 2 _ i d e n t i f i e r [ 6 : 0 ] 0 x 0 f f i f o _ 1 3 r e v e n t 1 3 _ s t a t e e v e n t 1 3 _ i d e n t i f i e r [ 6 : 0 ] 0 x 1 0 f i f o _ 1 4 r e v e n t 1 4 _ s t a t e e v e n t 1 4 _ i d e n t i f i e r [ 6 : 0 ] 0 x 1 1 f i f o _ 1 5 r e v e n t 1 5 _ s t a t e e v e n t 1 5 _ i d e n t i f i e r [ 6 : 0 ] 0 x 1 2 f i f o _ 1 6 r e v e n t 1 6 _ s t a t e e v e n t 1 6 _ i d e n t i f i e r [ 6 : 0 ] 0 x 1 3 g p i _ i n t _ s t a t _ a r r e s e r v e d g p i _ 6 _ i n t g p i _ 5 _ i n t g p i _ 4 _ i n t g p i _ 3 _ i n t g p i _ 2 _ i n t g p i _ 1 _ i n t 0 x 1 4 g p i _ i n t _ s t a t _ b r r e s e r v e d g p i _ 1 1 _ i n t g p i _ 1 0 _ i n t g p i _ 9 _ i n t g p i _ 8 _ i n t g p i _ 7 _ i n t 0 x 1 5 g p i _ s t a t u s _ a r r e s e r v e d g p i _ 6 _ s t a t g p i _ 5 _ s t a t g p i _ 4 _ s t a t g p i _ 3 _ s t a t g p i _ 2 _ s t a t g p i _ 1 _ s t a t 0 x 1 6 g p i _ s t a t u s _ b r r e s e r v e d g p i _ 1 1 _ s t a t g p i _ 1 0 _ s t a t g p i _ 9 _ s t a t g p i _ 8 _ s t a t g p i _ 7 _ s t a t 0 x 1 7 r _ p u l l _ c o n f i g _ a r / w r 3 _ p u l l _ c f g r 2 _ p u l l _ c f g r 1 _ p u l l _ c f g r 0 _ p u l l _ c f g 0 x 1 8 r _ p u l l _ c o n f i g _ b r / w r e s e r v e d r 5 _ p u l l _ c f g r 4 _ p u l l _ c f g 0 x 1 9 r _ p u l l _ c o n f i g _ c r / w c 3 _ p u l l _ c f g c 2 _ p u l l _ c f g c 1 _ p u l l _ c f g c 0 _ p u l l _ c f g 0 x 1 a r _ p u l l _ c o n f i g _ d r / w r e s e r v e d c 4 _ p u l l _ c f g 0 x 1 b g p i _ i n t _ l e v e l _ a r / w r e s e r v e d g p i _ 6 _ i n t _ l e v e l g p i _ 5 _ i n t _ l e v e l g p i _ 4 _ i n t _ l e v e l g p i _ 3 _ i n t _ l e v e l g p i _ 2 _ i n t _ l e v e l g p i _ 1 _ i n t _ l e v e l 0 x 1 c g p i _ i n t _ l e v e l _ b r / w r e s e r v e d g p i _ 1 1 _ i n t _ l e v e l g p i _ 1 0 _ i n t _ l e v e l g p i _ 9 _ i n t _ l e v e l g p i _ 8 _ i n t _ l e v e l g p i _ 7 _ i n t _ l e v e l 0 x 1 d g p i _ e v e n t _ e n _ a r / w r e s e r v e d g p i _ 6 _ e v e n t _ e n g p i _ 5 _ e v e n t _ e n g p i _ 4 _ e v e n t _ e n g p i _ 3 _ e v e n t _ e n g p i _ 2 _ e v e n t _ e n g p i _ 1 _ e v e n t _ e n 0 x 1 e g p i _ e v e n t _ e n _ b r / w r e s e r v e d g p i _ 1 1 _ e v e n t _ e n g p i _ 1 0 _ e v e n t _ e n g p i _ 9 _ e v e n t _ e n g p i _ 8 _ e v e n t _ e n g p i _ 7 _ e v e n t _ e n 0 x 1 f g p i _ i n t e r r u p t _ e n _ a r / w r e s e r v e d g p i _ 6 _ i n t _ e n g p i _ 5 _ i n t _ e n g p i _ 4 _ i n t _ e n g p i _ 3 _ i n t _ e n g p i _ 2 _ i n t _ e n g p i _ 1 _ i n t _ e n 0 x 2 0 g p i _ i n t e r r u p t _ e n _ b r / w r e s e r v e d g p i _ 1 1 _ i n t _ e n g p i _ 1 0 _ i n t _ e n g p i _ 9 _ i n t _ e n g p i _ 8 _ i n t _ e n g p i _ 7 _ i n t _ e n 0 x 2 1 d e b o u n c e _ d i s _ a r / w r e s e r v e d g p i _ 6 _ d e b _ d i s g p i _ 5 _ d e b _ d i s g p i _ 4 _ d e b _ d i s g p i _ 3 _ d e b _ d i s g p i _ 2 _ d e b _ d i s g p i _ 1 _ d e b _ d i s 0 x 2 2 d e b o u n c e _ d i s _ b r / w r e s e r v e d g p i _ 1 1 _ d e b _ d i s g p i _ 1 0 _ d e b _ d i s g p i _ 9 _ d e b _ d i s g p i _ 8 _ d e b _ d i s g p i _ 7 _ d e b _ d i s 0 x 2 3 g p o _ d a t a _ o u t _ a r / w r e s e r v e d g p o _ 6 _ d a t a g p o _ 5 _ d a t a g p o _ 4 _ d a t a g p o _ 3 _ d a t a g p o _ 2 _ d a t a g p o _ 1 _ d a t a 0 x 2 4 g p o _ d a t a _ o u t _ b r / w r e s e r v e d g p o _ 1 1 _ d a t a g p o _ 1 0 _ d a t a g p o _ 9 _ d a t a g p o _ 8 _ d a t a g p o _ 7 _ d a t a 0 x 2 5 g p o _ o u t _ m o d e _ a r / w r e s e r v e d g p o _ 6 _ o u t _ m o d e g p o _ 5 _ o u t _ m o d e g p o _ 4 _ o u t _ m o d e g p o _ 3 _ o u t _ m o d e g p o _ 2 _ o u t _ m o d e g p o _ 1 _ o u t _ m o d e 0 x 2 6 g p o _ o u t _ m o d e _ b r / w r e s e r v e d g p o _ 1 1 _ o u t _ m o d e g p o _ 1 0 _ o u t _ m o d e g p o _ 9 _ o u t _ m o d e g p o _ 8 _ o u t _ m o d e g p o _ 7 _ o u t _ m o d e 0 x 2 7 g p i o _ o u t _ e n _ a r / w r e s e r v e d g p i o _ 6 _ o u t _ e n g p i o _ 5 _ o u t _ e n g p i o _ 4 _ o u t _ e n g p i o _ 3 _ o u t _ e n g p i o _ 2 _ o u t _ e n g p i o _ 1 _ o u t _ e n 0 x 2 8 g p i o _ o u t _ e n _ b r / w r e s e r v e d g p i o _ 1 1 _ o u t _ e n g p i o _ 1 0 _ o u t _ e n g p i o _ 9 _ o u t _ e n g p i o _ 8 _ o u t _ e n g p i o _ 7 _ o u t _ e n
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 2 0 o f 4 4 r e g a d d r r e g i s t e r n a m e r / w 1 b i t 7 b i t 6 b i t 5 b i t 4 b i t 3 b i t 2 b i t 1 b i t 0 0 x 2 9 g p i o _ i n p _ e n _ a r / w r e s e r v e d g p i o _ 6 _ i n p _ e n g p i o _ 5 _ i n p _ e n g p i o _ 4 _ i n p _ e n g p i o _ 3 _ i n p _ e n g p i o _ 2 _ i n p _ e n g p i o _ 1 _ i n p _ e n 0 x 2 a g p i o _ i n p _ e n _ b r / w r e s e r v e d g p i o _ 1 1 _ i n p _ e n g p i o _ 1 0 _ i n p _ e n g p i o _ 9 _ i n p _ e n g p i o _ 8 _ i n p _ e n g p i o _ 7 _ i n p _ e n 0 x 2 b r e s e t _ e v e n t _ a r / w r e s e t _ e v e n t _ a _ l e v e l r e s e t _ e v e n t _ a , b i t s [ 6 : 0 ] 0 x 2 c r e s e t _ e v e n t _ b r / w r e s e t _ e v e n t _ b _ l e v e l r e s e t _ e v e n t _ b , b i t s [ 6 : 0 ] 0 x 2 d r e s e t _ e v e n t _ c r / w r e s e t _ e v e n t _ c _ l e v e l r e s e t _ e v e n t _ c , b i t s [ 6 : 0 ] 0 x 2 e r e s e t _ c f g r / w r e s e t _ p o l r s t _ p a s s t h r u _ e n r e s e t _ t r i g _ t i m e , b i t s [ 3 : 0 ] r e s e t _ p u l s e _ w i d t h , b i t s [ 1 : 0 ] 0 x 2 f p u l s e _ g e n _ 1 _ d e l a y r / w p u l s e _ g e n _ 1 _ d e l a y , b i t s [ 7 : 0 ] 0 x 3 0 p u l s e _ g e n _ 1 _ p e r i o d r / w p u l s e _ g e n _ 1 _ p e r i o d , b i t s [ 7 : 0 ] 0 x 3 1 p u l s e _ g e n _ 1 _ o n _ t i m e r / w p u l s e _ g e n _ 1 _ o n _ t i m e , b i t s [ 7 : 0 ] 0 x 3 2 p u l s e _ g e n _ 2 _ d e l a y r / w p u l s e _ g e n _ 2 _ d e l a y , b i t s [ 7 : 0 ] 0 x 3 3 p u l s e _ g e n _ 2 _ p e r i o d r / w p u l s e _ g e n _ 2 _ p e r i o d , b i t s [ 7 : 0 ] 0 x 3 4 p u l s e _ g e n _ 2 _ o n _ t i m e r / w p u l s e _ g e n _ 2 _ o n _ t i m e , b i t s [ 7 : 0 ] 0 x 3 5 p u l s e _ g e n _ c o n f i g r / w p u l s e _ g e n _ 1 _ i n v p u l s e _ g e n _ 1 _ o n _ c l k p u l s e _ g e n _ 1 _ p r d _ c l k p u l s e _ g e n _ 1 _ e n p u l s e _ g e n _ 2 _ i n v p u l s e _ g e n _ 2 _ o n _ c l k p u l s e _ g e n _ 2 _ p r d _ c l k p u l s e _ g e n _ 2 _ e n 0 x 3 6 l o g i c _ c f g r / w r e s e r v e d l y _ i n v l c _ i n v l b _ i n v l a _ i n v l o g i c _ s e l , b i t s [ 2 : 0 ] 0 x 3 7 l o g i c _ f f _ c f g r / w r e s e r v e d f f _ s e t f f _ c l r 0 x 3 8 l o g i c _ i n t _ e v e n t _ e n r / w r e s e r v e d l y _ d b n c _ d i s l o g i c _ e v e n t _ e n l o g i c _ i n t _ l e v e l 0 x 3 9 p o l l _ t i m e _ c f g r / w r e s e r v e d p r e c h a r g e _ t i m e r e s e r v e d k e y _ p o l l _ t i m e , b i t s [ 1 : 0 ] 0 x 3 a p i n _ c o n f i g _ a r / w r e s e r v e d r 5 _ c o n f i g r 4 _ c o n f i g r 3 _ c o n f i g r 2 _ c o n f i g r 1 _ c o n f i g r 0 _ c o n f i g 0 x 3 b p i n _ c o n f i g _ b r / w r e s e r v e d c 4 _ c o n f i g c 3 _ c o n f i g c 2 _ c o n f i g c 1 _ c o n f i g c 0 _ c o n f i g 0 x 3 c p i n _ c o n f i g _ c r / w p u l l _ s e l e c t c 0 _ e x t e n d _ c f g r 4 _ e x t e n d _ c f g c 1 _ e x t e n d _ c f g r 3 _ e x t e n d _ c f g r e s e r v e d r 0 _ e x t e n d _ c f g 0 x 3 d g e n e r a l _ c f g r / w o s c _ e n o s c _ f r e q , b i t s [ 1 : 0 ] r e s e r v e d s w _ r e s e t i n t _ c f g r s t _ c f g 0 x 3 e i n t _ e n r / w r e s e r v e d l o g i c _ i e n r e s e r v e d o v r f l o w _ i e n g p i _ i e n e v e n t _ i e n 1 r m e a n s r e a d , w m e a n s w r i t e , a n d r / w m e a n s r e a d / w r i t e .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 2 1 o f 4 4 d e t a i l e d r e g i s t e r d e s c r i p t i o n s n o t e t h a t a l l r e g i s t e r s d e f a u l t t o 0 0 0 0 0 0 0 0 , u n l e s s o t h e r w i s e s p e c i f i e d . i d , r e g i s t e r 0 x 0 0 d e f a u l t : 0 0 1 1 x x x x ( w h e r e x = d o n ? t c a r e ) t a b l e 8 . i d b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 4 ] m a n _ i d r e a d o n l y m a n u f a c t u r e r i d , d e f a u l t = 0 0 1 1 [ 3 : 0 ] r e v _ i d r e a d o n l y r e v i s i o n i d i n t _ s t a t u s , r e g i s t e r 0 x 0 1 t a b l e 9 . i n t _ s t a t u s b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 1 [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 l o g i c _ i n t r e a d / w r i t e 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o a g e n e r a l l o g i c c o n d i t i o n . 3 r e s e r v e d r e s e r v e d r e s e r v e d . 2 o v e r f l o w _ i n t r e a d / w r i t e 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o a n o v e r f l o w c o n d i t i o n . 1 g p i _ i n t r e a d / w r i t e t h i s b i t i s n o t s e t b y a g p i t h a t h a s b e e n c o n f i g u r e d t o u p d a t e t h e f i f o a n d e v e n t c o u n t . t h i s b i t c a n n o t b e c l e a r e d u n t i l a l l g p i _ x _ i n t b i t s a r e c l e a r e d . 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o a g e n e r a l g p i c o n d i t i o n . 0 e v e n t _ i n t r e a d / w r i t e 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o k e y e v e n t ( p r e s s / r e l e a s e ) , g p i e v e n t ( g p i p r o g r a m m e d f o r f i f o u p d a t e s ) , o r l o g i c e v e n t ( p r o g r a m m e d f o r f i f o u p d a t e s ) . 1 i n t e r r u p t b i t s a r e c l e a r e d b y w r i t i n g a 1 t o t h e f l a g ; w r i t i n g a 0 o r r e a d i n g t h e f l a g h a s n o e f f e c t . s t a t u s , r e g i s t e r 0 x 0 2 t a b l e 1 0 . s t a t u s b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 r e s e r v e d r e s e r v e d r e s e r v e d . 6 l o g i c _ s t a t r e a d o n l y 0 = o u t p u t f r o m l o g i c b l o c k ( l y ) i s l o w . 1 = o u t p u t f r o m l o g i c b l o c k ( l y ) i s h i g h . 5 r e s e r v e d r e s e r v e d r e s e r v e d . [ 4 : 0 ] e c [ 4 : 0 ] r e a d o n l y e v e n t c o u n t v a l u e . i n d i c a t e s h o w m a n y e v e n t s a r e c u r r e n t l y s t o r e d o n t h e f i f o . f i f o _ 1 , r e g i s t e r 0 x 0 3 t a b l e 1 1 . f i f o _ 1 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 _ s t a t e r e a d o n l y t h i s b i t r e p r e s e n t s t h e s t a t e o f t h e e v e n t t h a t i s r e c o r d e d i n t h e e v e n t 1 _ i d e n t i f i e r [ 6 : 0 ] b i t s . f o r k e y e v e n t s f r o m e v e n t 1 t o e v e n t 3 6 , u s e t h e f o l l o w i n g s e t t i n g s : 1 = k e y i s p r e s s e d . 0 = k e y i s r e l e a s e d . f o r g p i a n d l o g i c e v e n t s f r o m e v e n t 3 7 t o e v e n t 4 8 , u s e t h e f o l l o w i n g s e t t i n g s : 1 = g p i / l o g i c i s a c t i v e . 0 = g p i / l o g i c i s i n a c t i v e . a c t i v e a n d i n a c t i v e s t a t e s f o r e v e n t 3 7 t o e v e n t 4 8 a r e p r o g r a m m a b l e . [ 6 : 0 ] e v e n t 1 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y c o n t a i n s t h e e v e n t i d e n t i f i e r f o r t h e p i n . s e e t a b l e 1 2 f o r e v e n t d e c o d i n g i n f o r m a t i o n .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 2 2 o f 4 4 t a b l e 1 2 . e v e n t d e c o d i n g e v e n t n o . m e a n i n g e v e n t n o . m e a n i n g 0 n o e v e n t 2 5 k e y 2 5 ( r 4 , c 4 ) 1 k e y 1 ( r 0 , c 0 ) 2 6 k e y 2 6 ( r 5 , c 0 ) 2 k e y 2 ( r 0 , c 1 ) 2 7 k e y 2 7 ( r 5 , c 1 ) 3 k e y 3 ( r 0 , c 2 ) 2 8 k e y 2 8 ( r 5 , c 2 ) 4 k e y 4 ( r 0 , c 3 ) 2 9 k e y 2 9 ( r 5 , c 3 ) 5 k e y 5 ( r 0 , c 4 ) 3 0 k e y 3 0 ( r 5 , c 4 ) 6 k e y 6 ( r 1 , c 0 ) 3 1 k e y 3 1 ( r 0 , g n d ) 7 k e y 7 ( r 1 , c 1 ) 3 2 k e y 3 2 ( r 1 , g n d ) 8 k e y 8 ( r 1 , c 2 ) 3 3 k e y 3 3 ( r 2 , g n d ) 9 k e y 9 ( r 1 , c 3 ) 3 4 k e y 3 4 ( r 3 , g n d ) 1 0 k e y 1 0 ( r 1 , c 4 ) 3 5 k e y 3 5 ( r 4 , g n d ) 1 1 k e y 1 1 ( r 2 , c 0 ) 3 6 k e y 3 6 ( r 5 , g n d ) 1 2 k e y 1 2 ( r 2 , c 1 ) 3 7 g p i 1 ( r 0 ) 1 3 k e y 1 3 ( r 2 , c 2 ) 3 8 g p i 2 ( r 1 ) 1 4 k e y 1 4 ( r 2 , c 3 ) 3 9 g p i 3 ( r 2 ) 1 5 k e y 1 5 ( r 2 , c 4 ) 4 0 g p i 4 ( r 3 ) 1 6 k e y 1 6 ( r 3 , c 0 ) 4 1 g p i 5 ( r 4 ) 1 7 k e y 1 7 ( r 3 , c 1 ) 4 2 g p i 6 ( r 5 ) 1 8 k e y 1 8 ( r 3 , c 2 ) 4 3 g p i 7 ( c 0 ) 1 9 k e y 1 9 ( r 3 , c 3 ) 4 4 g p i 8 ( c 1 ) 2 0 k e y 2 0 ( r 3 , c 4 ) 4 5 g p i 9 ( c 2 ) 2 1 k e y 2 1 ( r 4 , c 0 ) 4 6 g p i 1 0 ( c 3 ) 2 2 k e y 2 2 ( r 4 , c 1 ) 4 7 g p i 1 1 ( c 4 ) 2 3 k e y 2 3 ( r 4 , c 2 ) 4 8 l o g i c 2 4 k e y 2 4 ( r 4 , c 3 ) 4 9 t o 1 2 7 u n u s e d f i f o _ 2 , r e g i s t e r 0 x 0 4 t a b l e 1 3 . f i f o _ 2 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 2 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 2 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 3 , r e g i s t e r 0 x 0 5 t a b l e 1 4 . f i f o _ 3 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 3 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 3 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 4 , r e g i s t e r 0 x 0 6 t a b l e 1 5 . f i f o _ 4 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 4 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 4 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 5 , r e g i s t e r 0 x 0 7 t a b l e 1 6 . f i f o _ 5 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 5 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 5 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 2 3 o f 4 4 f i f o _ 6 r e g i s t e r 0 x 0 8 t a b l e 1 7 . f i f o _ 6 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 6 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 6 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 7 , r e g i s t e r 0 x 0 9 t a b l e 1 8 . f i f o _ 7 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 7 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 7 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 8 , r e g i s t e r 0 x 0 a t a b l e 1 9 . f i f o _ 8 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 8 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 8 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 9 , r e g i s t e r 0 x 0 b t a b l e 2 0 . f i f o _ 9 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 9 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 9 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 1 0 , r e g i s t e r 0 x 0 c t a b l e 2 1 . f i f o _ 1 0 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 0 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 1 0 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 1 1 , r e g i s t e r 0 x 0 d t a b l e 2 2 . f i f o _ 1 1 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 1 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 1 1 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 1 2 , r e g i s t e r 0 x 0 e t a b l e 2 3 . f i f o _ 1 2 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 2 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 1 2 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 1 3 , r e g i s t e r 0 x 0 f t a b l e 2 4 . f i f o _ 1 3 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 3 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 1 3 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 2 4 o f 4 4 f i f o _ 1 4 , r e g i s t e r 0 x 1 0 t a b l e 2 5 . f i f o _ 1 4 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 4 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 1 4 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 1 5 , r e g i s t e r 0 x 1 1 t a b l e 2 6 . f i f o _ 1 5 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 5 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 1 5 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . f i f o _ 1 6 , r e g i s t e r 0 x 1 2 t a b l e 2 7 . f i f o _ 1 6 b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 e v e n t 1 6 _ s t a t e r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . [ 6 : 0 ] e v e n t 1 6 _ i d e n t i f i e r [ 6 : 0 ] r e a d o n l y s e e t a b l e 1 1 f o r b i t d e s c r i p t i o n s . g p i _ i n t _ s t a t _ a , r e g i s t e r 0 x 1 3 t a b l e 2 8 . g p i _ i n t _ s t a t _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i _ 6 _ i n t r e a d o n l y 0 = n o i n t e r r u p t 1 = i n t e r r u p t d u e t o g p i 6 ( r 5 p i n ) . c l e a r e d o n r e a d . 4 g p i _ 5 _ i n t r e a d o n l y 0 = n o i n t e r r u p t 1 = i n t e r r u p t d u e t o g p i 5 ( r 4 p i n ) . c l e a r e d o n r e a d . 3 g p i _ 4 _ i n t r e a d o n l y 0 = n o i n t e r r u p t 1 = i n t e r r u p t d u e t o g p i 4 ( r 3 p i n ) . c l e a r e d o n r e a d . 2 g p i _ 3 _ i n t r e a d o n l y 0 = n o i n t e r r u p t 1 = i n t e r r u p t d u e t o g p i 3 ( r 2 p i n ) . c l e a r e d o n r e a d . 1 g p i _ 2 _ i n t r e a d o n l y 0 = n o i n t e r r u p t 1 = i n t e r r u p t d u e t o g p i 2 ( r 1 p i n ) . c l e a r e d o n r e a d . 0 g p i _ 1 _ i n t r e a d o n l y 0 = n o i n t e r r u p t 1 = i n t e r r u p t d u e t o g p i 1 ( r 0 p i n ) . c l e a r e d o n r e a d . g p i _ i n t _ s t a t _ b , r e g i s t e r 0 x 1 4 t a b l e 2 9 . g p i _ i n t _ s t a t _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i _ 1 1 _ i n t r e a d o n l y 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o g p i 1 1 ( c 4 p i n ) . c l e a r e d o n r e a d . 3 g p i _ 1 0 _ i n t r e a d o n l y 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o g p i 1 0 ( c 3 p i n ) . c l e a r e d o n r e a d . 2 g p i _ 9 _ i n t r e a d o n l y 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o g p i 9 ( c 2 p i n ) . c l e a r e d o n r e a d . 1 g p i _ 8 _ i n t r e a d o n l y 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o g p i 8 ( c 1 p i n ) . c l e a r e d o n r e a d . 0 g p i _ 7 _ i n t r e a d o n l y 0 = n o i n t e r r u p t . 1 = i n t e r r u p t d u e t o g p i 7 ( c 0 p i n ) . c l e a r e d o n r e a d .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 2 5 o f 4 4 g p i _ s t a t u s _ a , r e g i s t e r 0 x 1 5 t a b l e 3 0 . g p i _ s t a t u s _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i _ 6 _ s t a t r e a d o n l y 0 = g p i 6 ( r 5 p i n ) i s l o w . 1 = g p i 6 ( r 5 p i n ) i s h i g h . 4 g p i _ 5 _ s t a t r e a d o n l y 0 = g p i 5 ( r 4 p i n ) i s l o w . 1 = g p i 5 ( r 4 p i n ) i s h i g h . 3 g p i _ 4 _ s t a t r e a d o n l y 0 = g p i 4 ( r 3 p i n ) i s l o w . 1 = g p i 4 ( r 3 p i n ) i s h i g h . 2 g p i _ 3 _ s t a t r e a d o n l y 0 = g p i 3 ( r 2 p i n ) i s l o w . 1 = g p i 3 ( r 2 p i n ) i s h i g h . 1 g p i _ 2 _ s t a t r e a d o n l y 0 = g p i 2 ( r 1 p i n ) i s l o w . 1 = g p i 2 ( r 1 p i n ) i s h i g h . 0 g p i _ 1 _ s t a t r e a d o n l y 0 = g p i 1 ( r 0 p i n ) i s l o w . 1 = g p i 1 ( r 0 p i n ) i s h i g h . g p i _ s t a t u s _ b , r e g i s t e r 0 x 1 6 t a b l e 3 1 . g p i _ s t a t u s _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i _ 1 1 _ s t a t r e a d o n l y 0 = g p i 1 1 ( c 4 p i n ) i s l o w . 1 = g p i 1 1 ( c 4 p i n ) i s h i g h . 3 g p i _ 1 0 _ s t a t r e a d o n l y 0 = g p i 1 0 ( c 3 p i n ) i s l o w . 1 = g p i 1 0 ( c 3 p i n ) i s h i g h . 2 g p i _ 9 _ s t a t r e a d o n l y 0 = g p i 9 ( c 2 p i n ) i s l o w . 1 = g p i 9 ( c 2 p i n ) i s h i g h . 1 g p i _ 8 _ s t a t r e a d o n l y 0 = g p i 8 ( c 1 p i n ) i s l o w . 1 = g p i 8 ( c 1 p i n ) i s h i g h . 0 g p i _ 7 _ s t a t r e a d o n l y 0 = g p i 7 ( c 0 p i n ) i s l o w . 1 = g p i 7 ( c 0 p i n ) i s h i g h .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 2 6 o f 4 4 r _ p u l l _ c o n f i g _ a , r e g i s t e r 0 x 1 7 d e f a u l t = 0 1 0 1 0 1 0 1 t a b l e 3 2 . r _ p u l l _ c o n f i g _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r 3 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . [ 5 : 4 ] r 2 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . [ 3 : 2 ] r 1 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . [ 1 : 0 ] r 0 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . r _ p u l l _ c o n f i g _ b , r e g i s t e r 0 x 1 8 d e f a u l t = 0 0 0 0 0 1 0 1 t a b l e 3 3 . r _ p u l l _ c o n f i g _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 4 ] r e s e r v e d r e s e r v e d r e s e r v e d . [ 3 : 2 ] r 5 _ p u l l _ c f g r e a d / w r i t e r e s e r v e d e x c e p t f o r t h e a d p 5 5 8 6 a c b z - 0 1 - r 7 o p t i o n s . 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . [ 1 : 0 ] r 4 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . r _ p u l l _ c o n f i g _ c , r e g i s t e r 0 x 1 9 d e f a u l t = 0 1 0 1 0 0 0 1 t a b l e 3 4 . r _ p u l l _ c o n f i g _ c b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] c 3 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . [ 5 : 4 ] c 2 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . [ 3 : 2 ] c 1 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . [ 1 : 0 ] c 0 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 2 7 o f 4 4 r _ p u l l _ c o n f i g _ d , r e g i s t e r 0 x 1 a d e f a u l t = 0 0 0 0 0 0 0 1 t a b l e 3 5 . r _ p u l l _ c o n f i g _ d b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 2 ] r e s e r v e d r e s e r v e d r e s e r v e d . [ 1 : 0 ] c 4 _ p u l l _ c f g r e a d / w r i t e 0 0 = e n a b l e s 3 0 0 k  p u l l - u p r e s i s t o r . 0 1 = e n a b l e s 3 0 0 k  p u l l - d o w n r e s i s t o r . 1 0 = e n a b l e s 1 0 0 k  p u l l - u p r e s i s t o r . 1 1 = d i s a b l e s a l l p u l l - u p / p u l l - d o w n r e s i s t o r s . g p i _ i n t _ l e v e l _ a , r e g i s t e r 0 x 1 b t a b l e 3 6 . g p i _ i n t _ l e v e l _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i _ 6 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 6 i n t e r r u p t i s a c t i v e l o w ( g p i _ 6 _ i n t s e t s w h e n e v e r r 5 i s l o w ) . 1 = g p i 6 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 6 _ i n t s e t s w h e n e v e r r 5 i s h i g h ) . 4 g p i _ 5 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 5 i n t e r r u p t i s a c t i v e l o w ( g p i _ 5 _ i n t s e t s w h e n e v e r r 4 i s l o w ) . 1 = g p i 5 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 5 _ i n t s e t s w h e n e v e r r 4 i s h i g h ) . 3 g p i _ 4 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 4 i n t e r r u p t i s a c t i v e l o w ( g p i _ 4 _ i n t s e t s w h e n e v e r r 3 i s l o w ) . 1 = g p i 4 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 4 _ i n t s e t s w h e n e v e r r 3 i s h i g h ) . 2 g p i _ 3 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 3 i n t e r r u p t i s a c t i v e l o w ( g p i _ 3 _ i n t s e t s w h e n e v e r r 2 i s l o w ) . 1 = g p i 3 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 3 _ i n t s e t s w h e n e v e r r 2 i s h i g h ) . 1 g p i _ 2 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 2 i n t e r r u p t i s a c t i v e l o w ( g p i _ 2 _ i n t s e t s w h e n e v e r r 1 i s l o w ) . 1 = g p i 2 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 2 _ i n t s e t s w h e n e v e r r 1 i s h i g h ) . 0 g p i _ 1 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 1 i n t e r r u p t i s a c t i v e l o w ( g p i _ 1 _ i n t s e t s w h e n e v e r r 0 i s l o w ) . 1 = g p i 1 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 1 _ i n t s e t s w h e n e v e r r 0 i s h i g h ) . g p i _ i n t _ l e v e l _ b , r e g i s t e r 0 x 1 c t a b l e 3 7 . g p i _ i n t _ l e v e l _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i _ 1 1 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 1 1 i n t e r r u p t i s a c t i v e l o w ( g p i _ 1 1 _ i n t s e t s w h e n e v e r r 1 0 i s l o w ) . 1 = g p i 1 1 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 1 1 _ i n t s e t s w h e n e v e r r 1 0 i s h i g h ) . 3 g p i _ 1 0 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 1 0 i n t e r r u p t i s a c t i v e l o w ( g p i _ 1 0 _ i n t s e t s w h e n e v e r r 9 i s l o w ) . 1 = g p i 1 0 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 1 0 _ i n t s e t s w h e n e v e r r 9 i s h i g h ) . 2 g p i _ 9 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 9 i n t e r r u p t i s a c t i v e l o w ( g p i _ 9 _ i n t s e t s w h e n e v e r r 8 i s l o w ) . 1 = g p i 9 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 9 _ i n t s e t s w h e n e v e r r 8 i s h i g h ) . 1 g p i _ 8 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 8 i n t e r r u p t i s a c t i v e l o w ( g p i _ 8 _ i n t s e t s w h e n e v e r r 7 i s l o w ) . 1 = g p i 8 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 8 _ i n t s e t s w h e n e v e r r 7 i s h i g h ) . 0 g p i _ 7 _ i n t _ l e v e l r e a d / w r i t e 0 = g p i 7 i n t e r r u p t i s a c t i v e l o w ( g p i _ 7 _ i n t s e t s w h e n e v e r r 6 i s l o w ) . 1 = g p i 7 i n t e r r u p t i s a c t i v e h i g h ( g p i _ 7 _ i n t s e t s w h e n e v e r r 6 i s h i g h ) .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 2 8 o f 4 4 g p i _ e v e n t _ e n _ a , r e g i s t e r 0 x 1 d t a b l e 3 8 . g p i _ e v e n t _ e n _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i _ 6 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 6 . 1 = a l l o w s g p i 6 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o  1 4 g p i _ 5 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 5 . 1 = a l l o w s g p i 5 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o  1 3 g p i _ 4 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 4 . 1 = a l l o w s g p i 4 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o  1 2 g p i _ 3 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 3 . 1 = a l l o w s g p i 3 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o  1 1 g p i _ 2 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 2 . 1 = a l l o w s g p i 2 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o  1 0 g p i _ 1 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 1 . 1 = a l l o w s g p i 1 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o  1 1 g p i s i n t h i s m o d e a r e c o n s i d e r e d f i f o e v e n t s a n d c a n b e u s e d f o r u n l o c k p u r p o s e s . g p i a c t i v i t y i n t h i s m o d e c a u s e s e v e n t _ i n t i n t e r r u p t s . g p i s i n t h i s m o d e d o n o t g e n e r a t e g p i _ i n t i n t e r r u p t s . g p i _ e v e n t _ e n _ b , r e g i s t e r 0 x 1 e t a b l e 3 9 . g p i _ e v e n t _ e n _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i _ 1 1 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 1 1 . 1 = a l l o w s g p i 1 1 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o . 1 3 g p i _ 1 0 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 1 0 . 1 = a l l o w s g p i 1 0 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o . 1 2 g p i _ 9 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 9 . 1 = a l l o w s g p i 9 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o . 1 1 g p i _ 8 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 8 . 1 = a l l o w s g p i 8 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o . 1 0 g p i _ 7 _ e v e n t _ e n r e a d / w r i t e 0 = d i s a b l e s g p i e v e n t s f r o m g p i 7 . 1 = a l l o w s g p i 7 a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o . 1 1 g p i s i n t h i s m o d e a r e c o n s i d e r e d f i f o e v e n t s a n d c a n b e u s e d f o r u n l o c k p u r p o s e s . g p i a c t i v i t y i n t h i s m o d e c a u s e s e v e n t _ i n t i n t e r r u p t s . g p i s i n t h i s m o d e d o n o t g e n e r a t e g p i _ i n t i n t e r r u p t s .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 2 9 o f 4 4 g p i _ i n t e r r u p t _ e n _ a , r e g i s t e r 0 x 1 f t a b l e 4 0 . g p i _ i n t e r r u p t _ e n _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i _ 6 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 6 _ i n t i s d i s a b l e d . 1 = g p i _ 6 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 6 _ i n t i s s e t a n d t h e g p i 6 i n t e r r u p t c o n d i t i o n i s m e t . 4 g p i _ 5 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 5 _ i n t i s d i s a b l e d . 1 = g p i _ 5 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 5 _ i n t i s s e t a n d t h e g p i 5 i n t e r r u p t c o n d i t i o n i s m e t . 3 g p i _ 4 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 4 _ i n t i s d i s a b l e d . 1 = g p i _ 4 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 4 _ i n t i s s e t a n d t h e g p i 4 i n t e r r u p t c o n d i t i o n i s m e t . 2 g p i _ 3 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 3 _ i n t i s d i s a b l e d . 1 = g p i _ 3 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 3 _ i n t i s s e t a n d t h e g p i 3 i n t e r r u p t c o n d i t i o n i s m e t . 1 g p i _ 2 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 2 _ i n t i s d i s a b l e d . 1 = g p i _ 2 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 2 _ i n t i s s e t a n d t h e g p i 2 i n t e r r u p t c o n d i t i o n i s m e t . 0 g p i _ 1 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 1 _ i n t i s d i s a b l e d . 1 = g p i _ 1 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 1 _ i n t i s s e t a n d t h e g p i 1 i n t e r r u p t c o n d i t i o n i s m e t . g p i _ i n t e r r u p t _ e n _ b , r e g i s t e r 0 x 2 0 t a b l e 4 1 . g p i _ i n t e r r u p t _ e n _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i _ 1 1 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 1 1 _ i n t i s d i s a b l e d . 1 = g p i _ 1 1 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 1 1 _ i n t i s s e t a n d t h e g p i 1 1 i n t e r r u p t c o n d i t i o n i s m e t . 3 g p i _ 1 0 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 1 0 _ i n t i s d i s a b l e d . 1 = g p i _ 1 0 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 1 0 _ i n t i s s e t a n d t h e g p i 1 0 i n t e r r u p t c o n d i t i o n i s m e t . 2 g p i _ 9 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 9 _ i n t i s d i s a b l e d . 1 = g p i _ 9 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 9 _ i n t i s s e t a n d t h e g p i 9 i n t e r r u p t c o n d i t i o n i s m e t . 1 g p i _ 8 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 8 _ i n t i s d i s a b l e d . 1 = g p i _ 8 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 8 _ i n t i s s e t a n d t h e g p i 8 i n t e r r u p t c o n d i t i o n i s m e t . 0 g p i _ 7 _ i n t _ e n r e a d / w r i t e 0 = g p i _ 7 _ i n t i s d i s a b l e d . 1 = g p i _ 7 _ i n t e n a b l e d . a s s e r t s t h e g p i _ i n t b i t ( r e g i s t e r 0 x 0 1 , b i t 1 ) i f g p i _ 7 _ i n t i s s e t a n d t h e g p i 7 i n t e r r u p t c o n d i t i o n i s m e t .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 3 0 o f 4 4 d e b o u n c e _ d i s _ a , r e g i s t e r 0 x 2 1 t a b l e 4 2 . d e b o u n c e _ d i s _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i _ 6 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 6 . 1 = d e b o u n c e d i s a b l e d o n g p i 6 . 4 g p i _ 5 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 5 . 1 = d e b o u n c e d i s a b l e d o n g p i 5 . 3 g p i _ 4 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 4 . 1 = d e b o u n c e d i s a b l e d o n g p i 4 . 2 g p i _ 3 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 3 . 1 = d e b o u n c e d i s a b l e d o n g p i 3 . 1 g p i _ 2 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 2 . 1 = d e b o u n c e d i s a b l e d o n g p i 2 . 0 g p i _ 1 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 1 . 1 = d e b o u n c e d i s a b l e d o n g p i 1 . d e b o u n c e _ d i s _ b , r e g i s t e r 0 x 2 2 t a b l e 4 3 . d e b o u n c e _ d i s _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i _ 1 1 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 1 1 . 1 = d e b o u n c e d i s a b l e d o n g p i 1 1 . 3 g p i _ 1 0 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 1 0 . 1 = d e b o u n c e d i s a b l e d o n g p i 1 0 . 2 g p i _ 9 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 9 . 1 = d e b o u n c e d i s a b l e d o n g p i 9 . 1 g p i _ 8 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 8 . 1 = d e b o u n c e d i s a b l e d o n g p i 8 . 0 g p i _ 7 _ d e b _ d i s r e a d / w r i t e 0 = d e b o u n c e e n a b l e d o n g p i 7 . 1 = d e b o u n c e d i s a b l e d o n g p i 7 . g p o _ d a t a _ o u t _ a , r e g i s t e r 0 x 2 3 t a b l e 4 4 . g p o _ d a t a _ o u t _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p o _ 6 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 4 g p o _ 5 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 3 g p o _ 4 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 2 g p o _ 3 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 1 g p o _ 2 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 0 g p o _ 1 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 3 1 o f 4 4 g p o _ d a t a _ o u t _ b , r e g i s t e r 0 x 2 4 t a b l e 4 5 . g p o _ d a t a _ o u t _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p o _ 1 1 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 3 g p o _ 1 0 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 2 g p o _ 9 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 1 g p o _ 8 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . 0 g p o _ 7 _ d a t a r e a d / w r i t e 0 = s e t s o u t p u t l o w . 1 = s e t s o u t p u t h i g h . g p o _ o u t _ m o d e _ a , r e g i s t e r 0 x 2 5 t a b l e 4 6 . g p o _ o u t _ m o d e _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p o _ 6 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 4 g p o _ 5 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 3 g p o _ 4 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 2 g p o _ 3 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 1 g p o _ 2 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 0 g p o _ 1 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . g p o _ o u t _ m o d e _ b , r e g i s t e r 0 x 2 6 t a b l e 4 7 . g p o _ o u t _ m o d e _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p o _ 1 1 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 3 g p o _ 1 0 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 2 g p o _ 9 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 1 g p o _ 8 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n . 0 g p o _ 7 _ o u t _ m o d e r e a d / w r i t e 0 = p u s h - p u l l . 1 = o p e n d r a i n .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 3 2 o f 4 4 g p i o _ o u t _ e n _ a , r e g i s t e r 0 x 2 7 t a b l e 4 8 . g p i o _ o u t _ e n _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i o _ 6 _ o u t _ e n r e a d / w r i t e 0 = g p i o 6 o u t p u t d i s a b l e d . 1 = g p i o 6 o u t p u t e n a b l e d . 4 g p i o _ 5 _ o u t _ e n r e a d / w r i t e 0 = g p i o 5 o u t p u t d i s a b l e d . 1 = g p i o 5 o u t p u t e n a b l e d . 3 g p i o _ 4 _ o u t _ e n r e a d / w r i t e 0 = g p i o 4 o u t p u t d i s a b l e d . 1 = g p i o 4 o u t p u t e n a b l e d . 2 g p i o _ 3 _ o u t _ e n r e a d / w r i t e 0 = g p i o 3 o u t p u t d i s a b l e d . 1 = g p i o 3 o u t p u t e n a b l e d . 1 g p i o _ 2 _ o u t _ e n r e a d / w r i t e 0 = g p i o 2 o u t p u t d i s a b l e d . 1 = g p i o 2 o u t p u t e n a b l e d . 0 g p i o _ 1 _ o u t _ e n r e a d / w r i t e 0 = g p i o 1 o u t p u t d i s a b l e d . 1 = g p i o 1 o u t p u t e n a b l e d . g p i o _ o u t _ e n _ b , r e g i s t e r 0 x 2 8 t a b l e 4 9 . g p i o _ o u t _ e n _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i o _ 1 1 _ o u t _ e n r e a d / w r i t e 0 = g p i o 1 1 o u t p u t d i s a b l e d . 1 = g p i o 1 1 o u t p u t e n a b l e d . 3 g p i o _ 1 0 _ o u t _ e n r e a d / w r i t e 0 = g p i o 1 0 o u t p u t d i s a b l e d . 1 = g p i o 1 0 o u t p u t e n a b l e d . 2 g p i o _ 9 _ o u t _ e n r e a d / w r i t e 0 = g p i o 9 o u t p u t d i s a b l e d . 1 = g p i o 9 o u t p u t e n a b l e d . 1 g p i o _ 8 _ o u t _ e n r e a d / w r i t e 0 = g p i o 8 o u t p u t d i s a b l e d . 1 = g p i o 8 o u t p u t e n a b l e d . 0 g p i o _ 7 _ o u t _ e n r e a d / w r i t e 0 = g p i o 7 o u t p u t d i s a b l e d . 1 = g p i o 7 o u t p u t e n a b l e d . g p i o _ i n p _ e n _ a , r e g i s t e r 0 x 2 9 t a b l e 5 0 . g p i o _ i n p _ e n _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 g p i o _ 6 _ i n p _ e n r e a d / w r i t e 0 = g p i o 6 i n p u t d i s a b l e d . 1 = g p i o 6 i n p u t e n a b l e d . 4 g p i o _ 5 _ i n p _ e n r e a d / w r i t e 0 = g p i o 5 i n p u t d i s a b l e d . 1 = g p i o 5 i n p u t e n a b l e d . 3 g p i o _ 4 _ i n p _ e n r e a d / w r i t e 0 = g p i o 4 i n p u t d i s a b l e d . 1 = g p i o 4 i n p u t e n a b l e d . 2 g p i o _ 3 _ i n p _ e n r e a d / w r i t e 0 = g p i o 3 i n p u t d i s a b l e d . 1 = g p i o 3 i n p u t e n a b l e d . 1 g p i o _ 2 _ i n p _ e n r e a d / w r i t e 0 = g p i o 2 i n p u t d i s a b l e d . 1 = g p i o 2 i n p u t e n a b l e d . 0 g p i o _ 1 _ i n p _ e n r e a d / w r i t e 0 = g p i o 1 i n p u t d i s a b l e d . 1 = g p i o 1 i n p u t e n a b l e d .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 3 3 o f 4 4 g p i o _ i n p _ e n _ b , r e g i s t e r 0 x 2 a t a b l e 5 1 . g p i o _ i n p _ e n _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 g p i o _ 1 1 _ i n p _ e n r e a d / w r i t e 0 = g p i o 1 1 i n p u t d i s a b l e d . 1 = g p i o 1 1 i n p u t e n a b l e d . 3 g p i o _ 1 0 _ i n p _ e n r e a d / w r i t e 0 = g p i o 1 0 i n p u t d i s a b l e d . 1 = g p i o 1 0 i n p u t e n a b l e d . 2 g p i o _ 9 _ i n p _ e n r e a d / w r i t e 0 = g p i o 9 i n p u t d i s a b l e d . 1 = g p i o 9 i n p u t e n a b l e d . 1 g p i o _ 8 _ i n p _ e n r e a d / w r i t e 0 = g p i o 8 i n p u t d i s a b l e d . 1 = g p i o 8 i n p u t e n a b l e d . 0 g p i o _ 7 _ i n p _ e n r e a d / w r i t e 0 = g p i o 7 i n p u t d i s a b l e d . 1 = g p i o 7 i n p u t e n a b l e d . r e s e t _ e v e n t _ a , r e g i s t e r 0 x 2 b t a b l e 5 2 . r e s e t _ e v e n t _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 r e s e t _ e v e n t _ a _ l e v e l r e a d / w r i t e d e f i n e s w h i c h l e v e l t h e f i r s t r e s e t e v e n t s h o u l d b e t o g e n e r a t e t h e r e s e t _ o u t s i g n a l . f o r k e y e v e n t s , u s e t h e f o l l o w i n g s e t t i n g s : 0 = i n a c t i v e e v e n t u s e d a s a r e s e t c o n d i t i o n . 1 = a c t i v e e v e n t u s e d a s a r e s e t c o n d i t i o n . f o r g p i s a n d l o g i c o u t p u t s c o n f i g u r e d f o r f i f o u p d a t e s , u s e t h e f o l l o w i n g s e t t i n g s : 0 = n o t a p p l i c a b l e ; r e l e a s e s n o t u s e d f o r r e s e t g e n e r a t i o n . 1 = p r e s s i s u s e d a s a r e s e t e v e n t . [ 6 : 0 ] r e s e t _ e v e n t _ a [ 6 : 0 ] r e a d / w r i t e d e f i n e s a n e v e n t t h a t c a n b e u s e d t o g e n e r a t e t h e r e s e t _ o u t s i g n a l . u p t o t h r e e e v e n t s c a n b e d e f i n e d f o r g e n e r a t i n g t h e r e s e t _ o u t s i g n a l , u s i n g r e s e t _ e v e n t _ a [ 6 : 0 ] , r e s e t _ e v e n t _ b [ 6 : 0 ] , a n d r e s e t _ e v e n t _ c [ 6 : 0 ] . i f o n e o f t h e r e g i s t e r s i s 0 , t h a t r e g i s t e r i s n o t u s e d f o r r e s e t g e n e r a t i o n . a l l r e s e t e v e n t s m u s t b e d e t e c t e d a t t h e s a m e t i m e t o t r i g g e r t h e r e s e t . r e s e t _ e v e n t _ b , r e g i s t e r 0 x 2 c t a b l e 5 3 . r e s e t _ e v e n t _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 r e s e t _ e v e n t _ b _ l e v e l r e a d / w r i t e d e f i n e s w h i c h l e v e l t h e s e c o n d r e s e t e v e n t s h o u l d b e t o g e n e r a t e t h e r e s e t _ o u t s i g n a l . r e f e r t o t a b l e 5 2 . [ 6 : 0 ] r e s e t _ e v e n t _ b [ 6 : 0 ] r e a d / w r i t e d e f i n e s a n e v e n t t h a t c a n b e u s e d t o g e n e r a t e t h e r e s e t _ o u t s i g n a l . s e e t a b l e 1 2 . r e s e t _ e v e n t _ c , r e g i s t e r 0 x 2 d t a b l e 5 4 . r e s e t _ e v e n t _ c b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 r e s e t _ e v e n t _ c _ l e v e l r e a d / w r i t e d e f i n e s w h i c h l e v e l t h e t h i r d r e s e t e v e n t s h o u l d b e t o g e n e r a t e t h e r e s e t _ o u t s i g n a l . r e f e r t o t a b l e 5 2 . [ 6 : 0 ] r e s e t _ e v e n t _ c [ 6 : 0 ] r e a d / w r i t e d e f i n e s a n e v e n t t h a t c a n b e u s e d t o g e n e r a t e t h e r e s e t _ o u t s i g n a l . s e e t a b l e 1 2 .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 3 4 o f 4 4 r e s e t _ c f g , r e g i s t e r 0 x 2 e t a b l e 5 5 . r e s e t _ c f g b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 r e s e t _ p o l r e a d / w r i t e s e t s t h e p o l a r i t y o f t h e r e s e t _ o u t s i g n a l . 0 = r e s e t _ o u t i s a c t i v e l o w . 1 = r e s e t _ o u t i s a c t i v e h i g h . 6 r s t _ p a s s t h r u _ e n r e a d / w r i t e a l l o w s t h e r s t p i n t o o v e r r i d e ( o r w i t h ) t h e r e s e t _ o u t s i g n a l . [ 5 : 2 ] r e s e t _ t r i g _ t i m e [ 3 : 0 ] r e a d / w r i t e d e f i n e s t h e l e n g t h o f t i m e t h a t t h e r e s e t e v e n t s m u s t b e a c t i v e b e f o r e a r e s e t _ o u t s i g n a l i s g e n e r a t e d . a l l e v e n t s m u s t b e a c t i v e a t t h e s a m e t i m e f o r t h e s a m e d u r a t i o n . 0 0 0 0 = i m m e d i a t e . 0 0 0 1 = 1 . 0 s e c . 0 0 1 0 = 1 . 5 s e c . 0 0 1 1 = 2 . 0 s e c . 0 1 0 0 = 2 . 5 s e c . 0 1 0 1 = 3 . 0 s e c . 0 1 1 0 = 3 . 5 s e c . 0 1 1 1 = 4 . 0 s e c . 1 0 0 0 = 5 . 0 s e c . 1 0 0 1 = 6 . 0 s e c . 1 0 1 0 = 7 . 0 s e c . 1 0 1 1 = 8 . 0 s e c . 1 1 0 0 = 9 . 0 s e c . 1 1 0 1 = 1 0 . 0 s e c . 1 1 1 0 = 1 1 . 0 s e c . 1 1 1 1 = 1 2 . 0 s e c . [ 1 : 0 ] r e s e t _ p u l s e _ w i d t h [ 1 : 0 ] r e a d / w r i t e d e f i n e s t h e p u l s e w i d t h o f t h e r e s e t _ o u t s i g n a l . 0 0 = 5 0 0 s . 0 1 = 1 m s . 1 0 = 2 m s . 1 1 = 1 0 m s . p u l s e _ g e n _ 1 _ d e l a y , r e g i s t e r 0 x 2 f t a b l e 5 6 . p u l s e _ g e n _ 1 _ d e l a y b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 0 ] p u l s e _ g e n _ 1 _ d e l a y [ 7 : 0 ] r e a d / w r i t e d e f i n e s i n i t i a l d e l a y f r o m t h e f i r s t c l o c k o f t h e f i r s t e n a b l e o f p u l s e g e n e r a t o r 1 . d e l a y i s d e f i n e d a s t h e n u m b e r o f c l o c k c y c l e s o f t h e c h o s e n p e r i o d c l o c k s p e e d ( s e e r e g i s t e r 0 x 3 5 ) . f o r e x a m p l e , p u l s e _ g e n _ 1 _ d e l a y p u l s e _ g e n _ 1 _ p r d _ c l k 0 1 0 0 0 0 0 0 0 0 0 0 m s 0 0 0 0 0 0 0 1 1 1 2 5 m s 0 0 0 0 0 0 1 0 2 2 5 0 m s 0 0 0 0 0 0 1 1 3 3 7 5 m s 0 0 0 0 0 1 0 0 4 5 0 0 m s ? ? ? 1 1 1 1 1 1 1 0 2 5 4 m s 3 1 . 7 5 0 s e c 1 1 1 1 1 1 1 1 2 5 5 m s 3 1 . 8 7 5 s e c
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 3 5 o f 4 4 p u l s e _ g e n _ 1 _ p e r i o d , r e g i s t e r 0 x 3 0 t a b l e 5 7 . p u l s e _ g e n _ 1 _ p e r i o d b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 0 ] p u l s e _ g e n _ 1 _ p e r i o d [ 7 : 0 ] r e a d / w r i t e d e f i n e s p e r i o d o f p u l s e g e n e r a t o r 1 . p e r i o d i s d e f i n e d a s t h e n u m b e r o f c l o c k c y c l e s o f t h e c h o s e n p e r i o d c l o c k s p e e d ( s e e r e g i s t e r 0 x 3 5 ) . f o r e x a m p l e , p u l s e _ g e n _ 1 _ p e r i o d p u l s e _ g e n _ 1 _ p r d _ c l k 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 ?1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 m s 1 m s 2 m s 3 m s 4 m s ?2 5 4 m s 2 5 5 m s 0 m s 1 2 5 m s 2 5 0 m s 3 7 5 m s 5 0 0 m s ?3 1 . 7 5 0 s e c 3 1 . 8 7 5 s e c p u l s e _ g e n _ 1 _ o n _ t i m e , r e g i s t e r 0 x 3 1 t a b l e 5 8 . p u l s e _ g e n _ 1 _ o n _ t i m e b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 0 ] p u l s e _ g e n _ 1 _ o n _ t i m e [ 7 : 0 ] r e a d / w r i t e d e f i n e s o n t i m e o f p u l s e g e n e r a t o r 1 . o n t i m e i s d e f i n e d a s t h e n u m b e r o f c l o c k c y c l e s o f t h e c h o s e n c l o c k s p e e d ( s e e r e g i s t e r 0 x 3 5 ) . f o r e x a m p l e , p u l s e _ g e n _ 1 _ o n _ t i m e p u l s e _ g e n _ 1 _ o n _ c l k 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 ?1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 m s 1 m s 2 m s 3 m s 4 m s ?2 5 4 m s 2 5 5 m s 0 m s 1 2 5 m s 2 5 0 m s 3 7 5 m s 5 0 0 m s ?3 1 . 7 5 0 s e c 3 1 . 8 7 5 s e c p u l s e _ g e n _ 2 _ d e l a y , r e g i s t e r 0 x 3 2 t a b l e 5 9 . p u l s e _ g e n _ 2 _ d e l a y b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 0 ] p u l s e _ g e n _ 2 _ d e l a y [ 7 : 0 ] r e a d / w r i t e d e f i n e s i n i t i a l d e l a y f r o m t h e f i r s t c l o c k o f t h e f i r s t e n a b l e o f p u l s e g e n e r a t o r 2 . d e l a y i s d e f i n e d a s t h e n u m b e r o f c l o c k c y c l e s o f t h e c h o s e n p e r i o d c l o c k s p e e d ( s e e r e g i s t e r 0 x 3 5 ) . f o r e x a m p l e , p u l s e _ g e n _ 2 _ d e l a y p u l s e _ g e n _ 2 _ p r d _ c l k 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 ?1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 m s 1 m s 2 m s 3 m s 4 m s ?2 5 4 m s 2 5 5 m s 0 m s 1 2 5 m s 2 5 0 m s 3 7 5 m s 5 0 0 m s ?3 1 . 7 5 0 s e c 3 1 . 8 7 5 s e c
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 3 6 o f 4 4 p u l s e _ g e n _ 2 _ p e r i o d , r e g i s t e r 0 x 3 3 t a b l e 6 0 . p u l s e _ g e n _ 2 _ p e r i o d b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 0 ] p u l s e _ g e n _ 2 _ p e r i o d [ 7 : 0 ] r e a d / w r i t e d e f i n e s p e r i o d o f p u l s e g e n e r a t o r 2 . p e r i o d i s d e f i n e d a s t h e n u m b e r o f c l o c k c y c l e s o f t h e c h o s e n p e r i o d c l o c k s p e e d ( s e e r e g i s t e r 0 x 3 5 ) . f o r e x a m p l e , p u l s e _ g e n _ 2 _ p e r i o d p u l s e _ g e n _ 2 _ p r d _ c l k 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 ?1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 m s 1 m s 2 m s 3 m s 4 m s ?2 5 4 m s 2 5 5 m s 0 m s 1 2 5 m s 2 5 0 m s 3 7 5 m s 5 0 0 m s ?3 1 . 7 5 0 s e c 3 1 . 8 7 5 s e c p u l s e _ g e n _ 2 _ o n _ t i m e , r e g i s t e r 0 x 3 4 t a b l e 6 1 . p u l s e _ g e n _ 2 _ o n _ t i m e b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 0 ] p u l s e _ g e n _ 2 _ o n _ t i m e [ 7 : 0 ] r e a d / w r i t e d e f i n e s o n t i m e o f p u l s e g e n e r a t o r 2 . o n t i m e i s d e f i n e d a s t h e n u m b e r o f c l o c k c y c l e s o f t h e c h o s e n c l o c k s p e e d ( s e e r e g i s t e r 0 x 3 5 ) . f o r e x a m p l e , p u l s e _ g e n _ 2 _ o n _ t i m e p u l s e _ g e n _ 2 _ o n _ c l k 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 ?1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 m s 1 m s 2 m s 3 m s 4 m s ?2 5 4 m s 2 5 5 m s 0 m s 1 2 5 m s 2 5 0 m s 3 7 5 m s 5 0 0 m s ?3 1 . 7 5 0 s e c 3 1 . 8 7 5 s e c
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 3 7 o f 4 4 p u l s e _ g e n _ c o n f i g , r e g i s t e r 0 x 3 5 t a b l e 6 2 . p u l s e _ g e n _ c o n f i g b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 p u l s e _ g e n _ 1 _ i n v r e a d / w r i t e 0 = n o i n v e r s i o n o n p u l s e g e n e r a t o r 1 . o n t i m e i s d e f i n e d a s t h e l e n g t h o f t i m e a h i g h s i g n a l i s o u t p u t . 1 = i n v e r t e d o u t p u t o n p u l s e g e n e r a t o r 1 . o n t i m e i s d e f i n e d a s t h e l e n g t h o f t i m e a h i g h s i g n a l i s o u t p u t . 6 p u l s e _ g e n _ 1 _ o n _ c l k r e a d / w r i t e d e f i n e s c l o c k s p e e d f o r t h e o n t i m e o f p u l s e g e n e r a t o r 1 . 0 = 1 m s . 1 = 1 2 5 m s . s e t t i n g p u l s e _ g e n _ 1 _ o n _ c l k = 1 a n d p u l s e _ g e n _ 1 _ p r d _ c l k = 0 i s n o t a s u p p o r t e d c o n f i g u r a t i o n . 5 p u l s e _ g e n _ 1 _ p r d _ c l k r e a d / w r i t e d e f i n e s c l o c k s p e e d f o r t h e p e r i o d o f p u l s e g e n e r a t o r 1 . 0 = 1 m s . 1 = 1 2 5 m s . s e t t i n g p u l s e _ g e n _ 1 _ o n _ c l k = 1 a n d p u l s e _ g e n _ 1 _ p r d _ c l k = 0 i s n o t a s u p p o r t e d c o n f i g u r a t i o n . 4 p u l s e _ g e n _ 1 _ e n r e a d / w r i t e 0 = p u l s e g e n e r a t o r 1 i s d i s a b l e d . t h e o f f s i g n a l i s o u t p u t c o n s t a n t l y . 1 = p u l s e g e n e r a t o r 1 i s e n a b l e d . 3 p u l s e _ g e n _ 2 _ i n v r e a d / w r i t e 0 = n o i n v e r s i o n o n p u l s e g e n e r a t o r 2 . o n t i m e i s d e f i n e d a s t h e l e n g t h o f t i m e a h i g h s i g n a l i s o u t p u t . 1 = i n v e r t e d o u t p u t o n p u l s e g e n e r a t o r 2 . o n t i m e i s d e f i n e d a s t h e l e n g t h o f t i m e a l o w s i g n a l i s o u t p u t . 2 p u l s e _ g e n _ 2 _ o n _ c l k r e a d / w r i t e d e f i n e s c l o c k s p e e d f o r t h e o n t i m e o f p u l s e g e n e r a t o r 2 . 0 = 1 m s . 1 = 1 2 5 m s . s e t t i n g p u l s e _ g e n _ 2 _ o n _ c l k = 1 a n d p u l s e _ g e n _ 2 _ p r d _ c l k = 0 i s n o t a s u p p o r t e d c o n f i g u r a t i o n . 1 p u l s e _ g e n _ 2 _ p r d _ c l k r e a d / w r i t e d e f i n e s c l o c k s p e e d f o r t h e p e r i o d o f p u l s e g e n e r a t o r 2 . 0 = 1 m s . 1 = 1 2 5 m s . s e t t i n g p u l s e _ g e n _ 2 _ o n _ c l k = 1 a n d p u l s e _ g e n _ 2 _ p r d _ c l k = 0 i s n o t a s u p p o r t e d c o n f i g u r a t i o n . 0 p u l s e _ g e n _ 2 _ e n r e a d / w r i t e 0 = p u l s e g e n e r a t o r 2 i s d i s a b l e d . t h e o f f s i g n a l i s o u t p u t c o n s t a n t l y . 1 = p u l s e g e n e r a t o r 2 i s e n a b l e d . l o g i c _ c f g , r e g i s t e r 0 x 3 6 t a b l e 6 3 . l o g i c _ c f g b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 r e s e r v e d r e s e r v e d r e s e r v e d . 6 l y _ i n v r e a d / w r i t e 0 = t h e l y o u t p u t i s n o t i n v e r t e d b e f o r e p a s s i n g i n t o t h e l o g i c b l o c k . 1 = i n v e r t s t h e l y o u t p u t f r o m t h e l o g i c b l o c k . 5 l c _ i n v r e a d / w r i t e 0 = t h e l c i n p u t i s n o t i n v e r t e d b e f o r e p a s s i n g i n t o t h e l o g i c b l o c k . 1 = i n v e r t s l c i n p u t b e f o r e p a s s i n g i t i n t o t h e l o g i c b l o c k . 4 l b _ i n v r e a d / w r i t e 0 = t h e l b i n p u t i s n o t i n v e r t e d b e f o r e p a s s i n g i n t o t h e l o g i c b l o c k . 1 = i n v e r t s l b i n p u t b e f o r e p a s s i n g i t i n t o t h e l o g i c b l o c k . 3 l a _ i n v r e a d / w r i t e 0 = t h e l a i n p u t i s n o t i n v e r t e d b e f o r e p a s s i n g i n t o t h e l o g i c b l o c k . 1 = i n v e r t s l a i n p u t b e f o r e p a s s i n g i t i n t o t h e l o g i c b l o c k . [ 2 : 0 ] l o g i c _ s e l [ 2 : 0 ] r e a d / w r i t e c o n f i g u r e s t h e d i g i t a l m u x f o r t h e l o g i c b l o c k . r e f e r t o f i g u r e 1 9 . 0 0 0 = o f f / d i s a b l e . 0 0 1 = a n d . 0 1 0 = o r . 0 1 1 = x o r . 1 0 0 = f f . 1 0 1 = i n _ l a . 1 1 0 = i n _ l b . 1 1 1 = i n _ l c .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 3 8 o f 4 4 l o g i c _ f f _ c f g , r e g i s t e r 0 x 3 7 t a b l e 6 4 . l o g i c _ f f _ c f g b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 2 ] r e s e r v e d r e s e r v e d r e s e r v e d . 1 f f _ s e t r e a d / w r i t e 0 = f f n o t s e t i n t h e l o g i c b l o c k . r e f e r t o f i g u r e 1 9 . 1 = s e t s f f i n t h e l o g i c b l o c k . 0 f f _ c l r r e a d / w r i t e 0 = f f n o t c l e a r e d i n t h e l o g i c b l o c k . r e f e r t o f i g u r e 1 9 . 1 = c l e a r s f f i n t h e l o g i c b l o c k . l o g i c _ i n t _ e v e n t _ e n , r e g i s t e r 0 x 3 8 t a b l e 6 5 . l o g i c _ i n t _ e v e n t _ e n b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 3 ] r e s e r v e d r e s e r v e d r e s e r v e d . 2 l y _ d b n c _ d i s r e a d / w r i t e 0 = o u t p u t o f t h e l o g i c b l o c k i s d e b o u n c e d b e f o r e e n t e r i n g t h e e v e n t / i n t e r r u p t b l o c k . 1 = o u t p u t o f t h e l o g i c b l o c k i s n o t d e b o u n c e d b e f o r e e n t e r i n g t h e e v e n t / i n t e r r u p t b l o c k . u s e w i t h c a u t i o n b e c a u s e g l i t c h e s m a y g e n e r a t e i n t e r r u p t s p r e m a t u r e l y . 1 l o g i c _ e v e n t _ e n r e a d / w r i t e 0 = l y c a n n o t g e n e r a t e i n t e r r u p t . 1 = a l l o w s l y a c t i v i t y t o g e n e r a t e e v e n t s o n t h e f i f o . 0 l o g i c _ i n t _ l e v e l r e a d / w r i t e c o n f i g u r e s t h e l o g i c l e v e l o f l y t h a t g e n e r a t e s a n i n t e r r u p t . 0 = l y i s a c t i v e l o w . 1 = l y i s a c t i v e h i g h . p o l l _ t i m e _ c f g , r e g i s t e r 0 x 3 9 t a b l e 6 6 . p o l l _ t i m e _ c f g b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 4 ] r e s e r v e d r e s e r v e d r e s e r v e d . 3 p r e c h a r g e _ t i m e r e a d / w r i t e d e f i n e s t i m e t o a l l o w p r e c h a r g e . 0 = 1 0 0 s . 1 = 2 0 0 s . 2 r e s e r v e d r e s e r v e d r e s e r v e d . [ 1 : 0 ] k e y _ p o l l _ t i m e [ 1 : 0 ] r e a d / w r i t e c o n f i g u r e s t i m e b e t w e e n c o n s e c u t i v e s c a n c y c l e s . 0 0 = 1 0 m s . 0 1 = 2 0 m s . 1 0 = 3 0 m s . 1 1 = 4 0 m s . p i n _ c o n f i g _ a , r e g i s t e r 0 x 3 a t a b l e 6 7 . p i n _ c o n f i g _ a b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 6 ] r e s e r v e d r e s e r v e d r e s e r v e d . 5 r 5 _ c o n f i g r e a d / w r i t e 0 = g p i o 6 . 1 = r o w 5 . 4 r 4 _ c o n f i g r e a d / w r i t e 0 = g p i o 5 ( s e e r 4 _ e x t e n d _ c f g i n t a b l e 6 9 f o r a l t e r n a t e c o n f i g u r a t i o n , r e s e t ) . 1 = r o w 4 3 r 3 _ c o n f i g r e a d / w r i t e 0 = g p i o 4 ( s e e r 3 _ e x t e n d _ c f g i n t a b l e 6 9 f o r a l t e r n a t e c o n f i g u r a t i o n , l c ) . 1 = r o w 3 2 r 2 _ c o n f i g r e a d / w r i t e 0 = g p i o 3 1 = r o w 2 1 r 1 _ c o n f i g r e a d / w r i t e 0 = g p i o 2 1 = r o w 1 0 r 0 _ c o n f i g r e a d / w r i t e 0 = g p i o 1 / l y ( s e e r 0 _ e x t e n d _ c f g i n t a b l e 6 9 f o r a l t e r n a t e c o n f i g u r a t i o n , l y ) . 1 = r o w 0
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 3 9 o f 4 4 p i n _ c o n f i g _ b , r e g i s t e r 0 x 3 b t a b l e 6 8 . p i n _ c o n f i g _ b b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 c 4 _ c o n f i g r e a d / w r i t e 0 = g p i o 1 1 . 1 = c o l u m n 4 . 3 c 3 _ c o n f i g r e a d / w r i t e 0 = g p i o 1 0 . 1 = c o l u m n 3 . 2 c 2 _ c o n f i g r e a d / w r i t e 0 = g p i o 9 . 1 = c o l u m n 2 . 1 c 1 _ c o n f i g r e a d / w r i t e 0 = g p i o 8 ( s e e c 1 _ e x t e n d _ c f g i n t a b l e 6 9 f o r a l t e r n a t e c o n f i g u r a t i o n , p u l s e _ g e n _ 2 ) . 1 = c o l u m n 1 . 0 c 0 _ c o n f i g r e a d / w r i t e 0 = g p i o 7 ( s e e c 0 _ e x t e n d _ c f g i n t a b l e 6 9 f o r a l t e r n a t e c o n f i g u r a t i o n , p u l s e _ g e n _ 1 ) . 1 = c o l u m n 0 . p i n _ c o n f i g _ c , r e g i s t e r 0 x 3 c t a b l e 6 9 . p i n _ c o n f i g _ c b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 p u l l _ s e l e c t r e a d / w r i t e 0 = 3 0 0 k  r e s i s t o r u s e d f o r r o w p u l l - u p d u r i n g k e y s c a n n i n g . 1 = 1 0 0 k  r e s i s t o r u s e d f o r r o w p u l l - u p d u r i n g k e y s c a n n i n g . 6 c 0 _ e x t e n d _ c f g r e a d / w r i t e 0 = c 0 r e m a i n s c o n f i g u r e d a s g p i o 7 . 1 = c 0 r e c o n f i g u r e d a s p u l s e _ g e n _ 1 o u t p u t . 5 r 4 _ e x t e n d _ c f g r e a d / w r i t e 0 = r 4 r e m a i n s c o n f i g u r e d a s g p i o 5 . 1 = r 4 r e c o n f i g u r e d a s r e s e t _ o u t o u t p u t . 4 c 1 _ e x t e n d _ c f g r e a d / w r i t e 0 = c 1 r e m a i n s c o n f i g u r e d a s g p i o 8 . 1 = c 1 r e c o n f i g u r e d a s p u l s e _ g e n _ 2 o u t p u t . 3 r 3 _ e x t e n d _ c f g r e a d / w r i t e 0 = r 3 r e m a i n s c o n f i g u r e d a s g p i o 4 . 1 = r 3 r e c o n f i g u r e d a s l c i n p u t f o r t h e l o g i c b l o c k . [ 2 : 1 ] r e s e r v e d r e s e r v e d r e s e r v e d . 0 r 0 _ e x t e n d _ c f g r e a d / w r i t e 0 = r 0 r e m a i n s c o n f i g u r e d a s g p i o 1 . 1 = r 0 r e c o n f i g u r e d a s l y o u t p u t f r o m t h e l o g i c b l o c k . g e n e r a l _ c f g , r e g i s t e r 0 x 3 d t a b l e 7 0 . g e n e r a l _ c f g b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n 7 o s c _ e n r e a d / w r i t e 0 = d i s a b l e s i n t e r n a l 8 0 0 k h z o s c i l l a t o r . 1 = e n a b l e s i n t e r n a l 8 0 0 k h z o s c i l l a t o r . [ 6 : 5 ] o s c _ f r e q [ 1 : 0 ] r e a d / w r i t e s e t s t h e i n p u t c l o c k f r e q u e n c y f e d f r o m t h e b a s e 8 0 0 k h z o s c i l l a t o r t o t h e d i g i t a l c o r e . s l o w e r f r e q u e n c i e s r e s u l t i n l e s s q u i e s c e n t c u r r e n t , b u t k e y a n d g p i s c a n t i m e s i n c r e a s e . 0 0 = 5 0 k h z . 0 1 = 1 0 0 k h z . 1 0 = 2 0 0 k h z . 1 1 = 4 0 0 k h z . [ 4 : 3 ] r e s e r v e d r e s e r v e d r e s e r v e d . 2 s w _ r e s e t r e a d / w r i t e s o f t w a r e r e s e t . s e t t o 1 t o r e s e t t h e a d p 5 5 8 6 . t h i s f u n c t i o n i s s i m i l a r t o b r i n g i n g r s t l o w , t h e n h i g h . w a i t a t l e a s t 2 0 0 s b e f o r e r e p r o g r a m m i n g t h e d e v i c e . 1 i n t _ c f g r e a d / w r i t e c o n f i g u r e s t h e b e h a v i o r o f t h e i n t p i n i f t h e u s e r t r i e s t o c l e a r i t w h i l e a n i n t e r r u p t i s p e n d i n g . 0 = i n t p i n r e m a i n s a s s e r t e d i f a n i n t e r r u p t i s p e n d i n g . 1 = i n t p i n d e a s s e r t s f o r 5 0 s a n d r e a s s e r t s i f a n i n t e r r u p t i s p e n d i n g . 0 r s t _ c f g r e a d / w r i t e c o n f i g u r e s t h e r e s p o n s e o f t h e a d p 5 5 8 6 t o t h e r s t p i n a n d t h e s w _ r e s e t b i t . 0 = t h e a d p 5 5 8 6 r e s e t s i f r s t i s l o w . 1 = t h e a d p 5 5 8 6 d o e s n o t r e s e t i f r s t i s l o w .
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 4 0 o f 4 4 i n t _ e n , r e g i s t e r 0 x 3 e t a b l e 7 1 . i n t _ e n b i t d e s c r i p t i o n s b i t s b i t n a m e a c c e s s d e s c r i p t i o n [ 7 : 5 ] r e s e r v e d r e s e r v e d r e s e r v e d . 4 l o g i c _ i e n r e a d / w r i t e 0 = l o g i c 1 i n t e r r u p t i s d i s a b l e d . 1 = a s s e r t s t h e i n t p i n i f t h e l o g i c _ i n t b i t i s s e t ( r e g i s t e r 0 x 0 1 , b i t 4 ) . 3 r e s e r v e d r e s e r v e d r e s e r v e d . 2 o v r f l o w _ i e n r e a d / w r i t e 0 = o v e r f l o w i n t e r r u p t i s d i s a b l e d . 1 = a s s e r t s t h e i n t p i n i f t h e o v r f l o w _ i n t b i t i s s e t ( r e g i s t e r 0 x 0 1 , b i t 2 ) . 1 g p i _ i e n r e a d / w r i t e 0 = g p i i n t e r r u p t i s d i s a b l e d . 1 = a s s e r t s t h e i n t p i n i f t h e g p i _ i n t i s s e t ( r e g i s t e r 0 x 0 1 , b i t 1 ) . 0 e v e n t _ i e n r e a d / w r i t e 0 = e v e n t i n t e r r u p t i s d i s a b l e d . 1 = a s s e r t s t h e i n t p i n i f t h e e v e n t _ i n t i s s e t ( r e g i s t e r 0 x 0 1 , b i t 0 ) .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 4 1 o f 4 4 a p p l i c a t i o n s s c h e m a t i c s d a s c l r s t i n t l o g i c r e s e t g e n o s c i l l a t o r r e g i s t e r s v d d g n d h o s t p r o c e s s o r k p / l o g i c o u t p u t / g p i / g p o k p / l o g i c i n p u t / g p i / g p o k p / l o g i c i n p u t / g p i / g p o k p / l o g i c i n p u t / g p i / g p o k p / r e s e t o u t p u t / g p i / g p o s d a s c l r s t i n t v d d v d d r 2 r 1 r 0 r 4 r 3 c 4 c 3 c 2 c 1 c 0 5 4 3 2 1 1 0 9 8 7 6 1 5 1 4 1 3 1 2 1 1 2 0 1 9 1 8 1 7 1 6 2 5 2 4 2 3 2 2 2 1 a d p 5 5 8 6 g p i s c a n a n d d e c o d e p u l s e g e n 1 p u l s e g e n 2 k e y s c a n a n d d e c o d e u v l o p o r i 2 c i n t e r f a c e i / o c o n f i g 1 1 1 4 8 - 0 2 8 f i g u r e 2 8 . t y p i c a l a p p l i c a t i o n s s c h e m a t i c
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 4 2 o f 4 4 o u t l i n e d i m e n s i o n s 0 1 - 2 0 - 2 0 1 1 - a a b c d 0 . 5 4 5 0 . 5 0 0 0 . 4 5 5 s i d e v i e w 0 . 2 3 0 0 . 2 0 0 0 . 1 7 0 0 . 3 0 0 0 . 2 6 0 0 . 2 2 0 c o p l a n a r i t y 0 . 0 5 s e a t i n g p l a n e 1 2 3 4 b o t t o m v i e w ( b a l l s i d e u p ) t o p v i e w ( b a l l s i d e d o w n ) b a l l 1 i d e n t i f i e r 0 . 4 0 r e f 1 . 2 0 r e f 1 . 6 3 0 1 . 5 9 0 s q 1 . 5 5 0 f i g u r e 2 9 . 1 6 - b a l l w a f e r l e v e l c h i p s c a l e p a c k a g e [ w l c s p ] ( c b - 1 6 - 1 0 ) d i m e n s i o n s s h o w n i n m i l l i m e t e r s o r d e r i n g g u i d e m o d e l 1 t e m p e r a t u r e r a n g e p a c k a g e d e s c r i p t i o n p a c k a g e o p t i o n a d p 5 5 8 6 a c b z - 0 0 - r 7  4 0 c t o + 8 5 c 1 6 - b a l l w a f e r l e v e l c h i p s c a l e p a c k a g e [ w l c s p ] c b - 1 6 - 1 0 a d p 5 5 8 6 a c b z - 0 1 - r 7  4 0 c t o + 8 5 c 1 6 - b a l l w a f e r l e v e l c h i p s c a l e p a c k a g e [ w l c s p ] c b - 1 6 - 1 0 a d p 5 5 8 6 a c b z - 0 3 - r 7  4 0 c t o + 8 5 c 1 6 - b a l l w a f e r l e v e l c h i p s c a l e p a c k a g e [ w l c s p ] c b - 1 6 - 1 0 a d p 5 5 8 6 c b - e v a l z w l c s p e v a l u a t i o n b o a r d c b - 1 6 - 1 0 1 z = r o h s c o m p l i a n t p a r t .
d a t a s h e e t a d p 5 5 8 6 r e v . 0 | p a g e 4 3 o f 4 4 n o t e s
a d p 5 5 8 6 d a t a s h e e t r e v . 0 | p a g e 4 4 o f 4 4 n o t e s i 2 c r e f e r s t o a c o m m u n i c a t i o n s p r o t o c o l o r i g i n a l l y d e v e l o p e d b y p h i l i p s s e m i c o n d u c t o r s ( n o w n x p s e m i c o n d u c t o r s ) . ? 2 0 1 3 a n a l o g d e v i c e s , i n c . a l l r i g h t s r e s e r v e d . t r a d e m a r k s a n d r e g i s t e r e d t r a d e m a r k s a r e t h e p r o p e r t y o f t h e i r r e s p e c t i v e o w n e r s . d 1 1 1 4 8 - 0 - 3 / 1 3 ( 0 )


▲Up To Search▲   

 
Price & Availability of ADP5586

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X